Problem Description
Given a numeric string A representing a large number you need to find the next smallest palindrome greater than this number.
1 <= |A| <= 100
A doesn't start with zeroes and always contain digits from 0-9.
First and only argument is an string A.
Return a numeric string denoting the next smallest palindrome greater than A.
Input 1:
A = "23545"
Input 2:
A = "999"
Output 1:
"23632"
Output 2:
"1001"
NOTE: You only need to implement the given function. Do not read input, instead use the arguments to the function. Do not print the output, instead return values as specified. Still have a question? Checkout Sample Codes for more details.