#include<stdio.h>
int main(void)
{
int i,n,m;
char s[10];
printf("Enter a string:");
i=0;
while((s[i]=getchar())!='
')
i++;
s[i]=' ';
for(n=0,m=i-1;n<m;n++,m--)
if(s[n]!=s[m])
break;
if(n>=m)
printf("It is a plalindrome
");
else
printf("It is not a plalindrome
");
return 0;
}