1074 最小的回文数


Submit solution

Points: 100
Time limit: 1.0s
Memory limit: 32M

Problem types
Allowed languages
C, C++, Java, Python

Description

给出一个数X(X<10^20), 求比X大的最小的回文数!

Sample

Input

1
10
12

Output

2
11
22

Comments

There are no comments at the moment.