s = input().replace(' ', '').lower() l = len(s) for i in range(l//2): if s[i] != s[-1-i]: print("False") quit() print("True")