📅  最后修改于: 2022-03-11 14:45:20.117000             🧑  作者: Mango
n = input()
if n == n[::-1]:
print('Yes')
elif n[-1] != '0':
print('No')
else:
n = n.strip('0')
if n == n[::-1]:
print('Yes')
else:
print('No')