Pregunta de entrevista de Central 1

Didn't get this far.