#include<bits/stdc++.h> using namespace std; int main() { 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]='\0'; bool tf=true; for(int i=0 ; i < k ; i++){ 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: Accepted Time:7 ms Memory:2072 kb ****************************************************************/