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

/**************************************************************
	Problem: 1098
	User: hongjiaming
	Language: C++
	Result: Runtime Error
****************************************************************/