a = input() b = a.split() b = ''.join(b) c = b.lower() if c == ''.join(reversed(c)): print('True') else: print('False')