l = str(input()) l=l.replace(" ",'').lower() if l[::1]==l[::-1]: print('True') else: print('False')