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