SP5 PALIN - The Next Palindrome
Description
A positive integer is called a _palindrome_ if its representation in the decimal system is the same when read from left to right and from right to left. For a given positive integer _K_ of not more than 1000000 digits, write the value of the smallest palindrome larger than _K_ to output. Numbers are always displayed without leading zeros.
Input Format
N/A
Output Format
N/A
Explanation/Hint
**Warning: large Input/Output data, be careful with certain languages**