import re
str_in = input()
str_out = re.sub(r' ', '', str_in.lower())
print('True') if str_out == str_out[::-1] else print('False')