#include<bits/stdc++.h>
using namespace std;
int main(){
	bool b=true;
	char y[200];
	cin>>y;
	for(int i=0;i<strlen(y)/2;i++){
		if(y[i]!=y[strlen(y)-2-i])	b=false;
	}

    if(b==true){
        cout<<"TRUE";
    }else{
        cout<<"FALSE";
    }
}

/**************************************************************
	Problem: 1098
	User: wengsihan
	Language: C++
	Result: Accepted
	Time:7 ms
	Memory:2072 kb
****************************************************************/