#abc198b. [abc198_b]Palindrome with leading zeros
[abc198_b]Palindrome with leading zeros
Problem Statement
Given is an integer .
Is it possible to add zero or more 0
s at the beginning of the string representing in base ten to get a palindrome?
Constraints
Input
Input is given from Standard Input in the following format:
Output
If a palindrome can be made, print Yes
; otherwise, print No
.
Sample Input 1
1210
Sample Output 1
Yes
Adding one 0
at the beginning of 1210
results in 01210
, a palindrome.
Sample Input 2
777
Sample Output 2
Yes
777
is already a palindrome.
Sample Input 3
123456789
Sample Output 3
No