Pergunta de entrevista da empresa Mahisoft

Make a function that returns the next number capicúa greater than K