Palindrome with leading zeros

AtCoder
IDabc198_b
Time2000ms
Memory256MB
Difficulty
Given is an integer $N$. Is it possible to add zero or more `0`s 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$ [samples]
Samples
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
API Response (JSON)
{
  "problem": {
    "name": "Palindrome with leading zeros",
    "description": {
      "content": "Given is an integer $N$. Is it possible to add zero or more `0`s at the beginning of the string representing $N$ in base ten to get a palindrome?",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc198_b"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "Given is an integer $N$.\nIs it possible to add zero or more `0`s at the beginning of the string representing $N$ in base ten to get a palindrome?\n\n## Constraints\n\n*   $0 \\leq N \\leq 10^9$\n\n## Input\n\nI...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments