static void Main(string[] args)
{
string Str = null;
Console.WriteLine("Enter string");
Str=Console.ReadLine();
bool chk = true;
for (int i = 0; i <= Str.Length/2 + 1; i++)
{
if (Str[i] != Str[Str.Length - i - 1])
{
chk = false;
}
}
if(chk==true)
Console.WriteLine("Plaindrome");
else
Console.WriteLine("Not Plaindrome");
}