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