#include<bits/stdc++.h>
using namespace std;
int main()
{
//1.原数组包括点 2.反过来的字符串
char a[101],b[101];
int k=0,j;
gets(a);
for(int i=strlen(a)-2 ; i>=0 ; i--){
b[k]=a[i];
k++;
}
//b数组的长度为k
b[k]='\0';
bool tf=true;//默认这个数就是回文数
for(int i=0 ; i < k ; i++){//k既是b数组也是,a数组的长度,因为b从a数组拷贝而来
//a:123456.
//b:654321
if(a[i]!=b[i]){
tf=false;
break;
}
}
if(tf==true){
cout<<"True"<<endl;
}else{
cout<<"False"<<endl;
}
return 0;
}
/**************************************************************
Problem: 1098
User: hbq
Language: C++
Result: Wrong Answer
****************************************************************/