from math import *
# x = input().split()
a = input()
for i in range(floor(len(a)/2)):
if(a[i]!=a[len(a)-i-1]):
print("False")
exit()
print("True")