Samuel's Palindrome


Everyone please welcome Samuel M to MAPS. He loves to paint!

Input

The first line contains a single integer nn.

Output

Output YES if the number nn is palindrome, otherwise print NO.

Constraints

1n1091 \le n \le 10^9

Example 1

Input
Input 1
5
Input 2
YES

Example 2

Input
Input 3
6
Input 4
NO

Example 3

Input
Input 5
19
Input 6
YES

Example 4

Input
Input 7
121
Input 8
NO

Comments0


No comments yet

Be the first to comment.

New comment


Log in to join the discussion.

Samuel's Palindrome - MAPS Online Judge