#include<bits/stdc++.h>
using namespace std;
int main()
{
char s[102];
gets(s);
int i,n=0,d=strlen(s)-2;
for(i=0;i!=d/2;i++){
if(s[i]!=s[d-i]){
n=1;
}
}
if(n==0){
cout<<"TRUE";
}else{
cout<<"FALSE";
}
return 0;
}
/**************************************************************
Problem: 1098
User: zzz
Language: C++
Result: Accepted
Time:8 ms
Memory:2072 kb
****************************************************************/