using System;
public class Program
{
public static void Main()
string str=Console.ReadLine();
int strlength=str.Length;
string temp="";
for(int i=strlength-1;i>=0;i--)
temp=temp+str[i].ToString();
}
if(str==temp)
Console.WriteLine("String is Palindrome");
else
Console.WriteLine("Not Palindrome");