Pregunta de entrevista de Forseven

exercise with data given ahead