Citadel Interview Question

Find the next palindrome number.