P24117 [AtCoder] Palindrome with leading zeros
入门
题目描述

Problem Statement

Given is an integer N.
Is it possible to add zero or more 0s at the beginning of the string representing N in base ten to get a palindrome?

Input

Input is given from Standard Input in the following format:
N

Output

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

Constraints

  • $0 \leq N \leq 10^9$

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

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
1210
样例输出
Yes