a=input()
b=[]
c=[]
for i in a:
b.append(i)
i=len(b)-2
while i>=0:
c.append(b[i])
i=i-1
c.append('.')
if c==b:
print('TRUE')
else:
print("FALSE")
/**************************************************************
Problem: 1098
User: admin
Language: Python
Result: Accepted
Time:86 ms
Memory:34480 kb
****************************************************************/