~cpp #include<iostream> using namespace std; void main() { char buf[64]={0,}; cin >>buf; int length = strlen(buf); int i; int r=1; for(i=0; i<length ; i++){ if(buf[i] != buf[length-i-1]){ r=0; break; } } if(r==0) cout <<"F"<<endl; else cout <<"T"<<endl; }