#include "iostream"
#include"string"
#include"algorithm"
using namespace std;
int mirr(const char *p )
{
const char * q =p;
int i,len =0;
while(*q++!='\0')
{
len++;
}
for(i=0;i<=len/2;i++)
{
if(p[i]!=p[len-i-1])
return 0;
}
return 1;
}
int main()
{
char a[100];
while(cin>>a)
{
int k =mirr(a);
if( k )
cout<<"ok"<<endl;
else
cout<<"no"<<endl;
}
return 0;
}
10-24