Pregunta de entrevista de Luciq

just problem solving for the start