Pergunta de entrevista da empresa Infosys

Given a palindromic integer, find the next palindromic integer.