using System.Collections.Generic;
public static void Main()
Console.WriteLine("Enter a word: ");
string str = Convert.ToString(Console.ReadLine());
char[] ch = str.ToCharArray();
bool b = str.Equals(rev);
Console.WriteLine("true");
Console.WriteLine("false");