Problem: 

Input

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

Output

Output "Yes" or "No".

Examples

Input

373


Output

Yes


Input

121


Output

No


Input

436


Output

Yes

Solution (in PYTHON):

Solution:
print ["No","Yes"][(lambda x:min([x[i]+x[::-1][i]in"33 46 59 77 80 64 95 08".split()for i in range(len(x))]))(raw_input())]