Problem4540--回文数的判定

4540: 回文数的判定

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

给定一个正整数 lns="http://www.w3.org/1998/Math/MathML">n,请判定它是否是一个回文数,所谓回文数,就是将这个数的所有数字倒序排列后这个数的大小保持不变,比如 lns="http://www.w3.org/1998/Math/MathML">101 与 lns="http://www.w3.org/1998/Math/MathML">6886 都是回文数,而 lns="http://www.w3.org/1998/Math/MathML">100 不是回文数。

Input

单个正整数:表示给定的数字

  • 对于 lns="http://www.w3.org/1998/Math/MathML">100% 的数据,lns="http://www.w3.org/1998/Math/MathML">1n10,000,000



Output

  • 如果输入是一个回文数,输出 Palindromic Number
  • 否则,输出 Non-Palindromic Number

Sample Input Copy

1001

Sample Output Copy

Palindromic Number

Source/Category