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

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