AtCoder Beginner Contest 198
翻译中…
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?
翻译中…
Constraints
翻译中…
$0 \leq N \leq 10^9$
翻译中…
Input
翻译中…
Input is given from Standard Input in the following format:
翻译中…
N
翻译中…
Output
翻译中…
If a palindrome can be made, print Yes; otherwise, print No.
翻译中…
样例
Input #1
1210
Output #1
Yes
Adding one `0` at the beginning of `1210` results in `01210`, a palindrome.
Input #2
777
Output #2
Yes
`777` is already a palindrome.
Input #3
123456789
Output #3
No
题目信息
题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。