#include<bits/stdc++.h>
using namespace std;
int main()
{
	char s[102];
	gets(s);
	int i,n=0,d=strlen(s)-1;
	for(i=0;s[i]<=d/2;i++){
		if(s[i]!=s[d-i]){
			n++;
		}
	}
	if(n==0){
		cout<<"TRUE";
	}else{
		cout<<"FALSE";
	}
	return 0;
}

/**************************************************************
	Problem: 1098
	User: zzz
	Language: C++
	Result: Wrong Answer
****************************************************************/