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