Palindromic Number

AtCoder
IDabc070_a
Time2000ms
Memory256MB
Difficulty
You are given a three-digit positive integer $N$. Determine whether $N$ is a _palindromic number_. Here, a palindromic number is an integer that reads the same backward as forward in decimal notation. ## Constraints * $100≤N≤999$ * $N$ is an integer. ## Input Input is given from Standard Input in the following format: $N$ [samples]
Samples
Input #1
575
Output #1
Yes

$N=575$ is also $575$ when read backward, so it is a palindromic number. You should print `Yes`.
Input #2
123
Output #2
No

$N=123$ becomes $321$ when read backward, so it is not a palindromic number. You should print `No`.
Input #3
812
Output #3
No
API Response (JSON)
{
  "problem": {
    "name": "Palindromic Number",
    "description": {
      "content": "You are given a three-digit positive integer $N$.   Determine whether $N$ is a _palindromic number_.   Here, a palindromic number is an integer that reads the same backward as forward in decimal notat",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc070_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "You are given a three-digit positive integer $N$.  \nDetermine whether $N$ is a _palindromic number_.  \nHere, a palindromic number is an integer that reads the same backward as forward in decimal notat...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments