#include<bits/stdc++.h>
using namespace std;
int main(){
char a[1000];
gets(a);
bool r=true;
for(int i=0;i<strlen(a)/2;i++){
if(a[i]!=a[strlen(a)-2-i]){
r=false;
}
}
if(r==false) cout<<"FALSE";
else cout<<"TRUE";
return 0;
}
/**************************************************************
Problem: 1098
User: wuweimo
Language: C++
Result: Accepted
Time:6 ms
Memory:2072 kb
****************************************************************/