(lambda x: print('True' if x == ''.join(list(reversed(x))) else 'False'))(input().replace(' ', '').lower())