using System;
public class Program
{
public static void Main()
bool result = CheckPalindrome("HelloolleH");
Console.WriteLine(result);
}
static public bool CheckPalindrome(string str){
bool flag = false;
for(int i=0, j = str.Length-1; i<=j ; i++, j--){
if(str[i] != str[j]){
return flag;
return true;