The only line of the input contains a string of digits. The length of the string is between 1 and 10, inclusive.

Output "Yes" or "No".
The only line of the input contains a string of digits. The length of the string is between 1 and 10, inclusive.
none
373
Yes
121
No
436
Yes
7
Yes
8
No
4357087936
Yes
806975480
Yes
3333333333
Yes
90785
Yes
7467467
Yes
64
Yes
584609
Yes
69154
No
363567
No
557654
No
772961
No
788958
No
992045
No
116325
No
320432
No
314729
No
531816
No
673902416
No
880089713
No
004176110
No
p = input()
l = len(p) - 1
ans = ""
s=["23", "10", "30", "11", "13", "12", "31", "33", "32","21"]
for x in p:
    ans+=s[ord(x) -48]
if ans == ans[::-1]:
    print("Yes")
else:
    print("No")