100 atcoder#ABC198B. [ABC198B] Palindrome with leading zeros

[ABC198B] Palindrome with leading zeros

Score : 200200 points

Problem Statement

Given is an integer NN.

Is it possible to add zero or more 0s at the beginning of the string representing NN in base ten to get a palindrome?

Constraints

  • 0N1090 \leq N \leq 10^9

Input

Input is given from Standard Input in the following format:

NN

Output

If a palindrome can be made, print Yes; otherwise, print No.

1210
Yes

Adding one 0 at the beginning of 1210 results in 01210, a palindrome.

777
Yes

777 is already a palindrome.

123456789
No