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