2025-06-25 21:08:42 +09:00

4 lines
91 B
Python

while True :
s = input()
if s=='0' : break
print("yes" if s==s[::-1] else "no")