Pregunta de entrevista de Mahisoft

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