Problem1614--回文数判断 (课程A)

1614: 回文数判断 (课程A)

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

Description

输入1 个整数n,判断它是否为回文数,即从右向左读和从左向右读是一样的数。

Input

第一行1个整数n,范围在[1,100000000]。

Output

只一个整数。是回文数输出1,不是回文数输出0。

Sample Input Copy

1331

Sample Output Copy

1

Source/Category