test = input().replace(' ','').lower() list = [] list += test list2 = list[::-1] if list == list2: print('True') else: print('False')