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