using System;
public class Program
{
public static void Main()
int n,r,f=0;
int t;
Console.WriteLine("enter n");
n=Convert.ToInt32(Console.ReadLine());
t=n;
while (n!=0)
r=n%10;
n=n/10;
f=f*10+r;
}
Console.WriteLine("f={0}",f);
if (t==f)
Console.WriteLine("pallendrome");
else
Console.WriteLine("not a pallendrome");
Console.ReadLine();