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.
A = "23545"
A = "999"
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 doubt? Checkout Sample Codes for more details.