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