Next Palindrome Calculator

Given a number, find the next smallest palindrome.