AtCoder Beginner Contest 070
翻译中…
Problem Statement
翻译中…
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
翻译中…
Output
翻译中…
If $N$ is a palindromic number, print Yes; otherwise, print No.
翻译中…
样例
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
题目信息
题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。