python 回文数

#回文数
num = int(input())
a = num % 10
b = num // 10000
if a != b:
print("no")
else:
print("yes")
#输入12321 运行结果为yes