#CCBCHMOT0000053. Số đối xứng hệ thập phân (Decimal Palindrome Number)

Số đối xứng hệ thập phân (Decimal Palindrome Number)

Decimal Palindrome Number

Source: Phước Hưng OJ

Version: Phuoc Hung OJ Extended

Problem Statement

Given nonnegative n, print YES when its decimal digits form a palindrome, otherwise NO.

Input

One integer n.

Output

Print YES or NO.

Subtasks

  • Subtask 1 (20%): 0≤n≤1000.
  • Subtask 2 (30%): 0≤n≤1000000.
  • Subtask 3 (50%): 0≤n≤1000000000.

Examples

Example 1

Input

12021

Output

YES

Explanation

Reversing 12021 yields 12021.

Example 2

Input

120

Output

NO

Explanation

Reversing 120 gives numeric value 21.

Example 3

Input

0

Output

YES

Explanation

Zero has a single digit.