using System;
class Program {
static bool IsPalindrome(string s) {
s = s.ToLower().Replace(" ", ""); // Convert to lowercase and remove spaces
char[] arr = s.ToCharArray();
Array.Reverse(arr);
return new string(arr) == s;
}
static void Main() {
Console.WriteLine(IsPalindrome("ANINA")); // True