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