Wissen I Tech interview question

find next smallest plaindrome from the given input