import sys a = list(sys.stdin.read().split()) a = ''.join(a).lower() if a == a[-1::-1]: print('True') else: print('False')