Pregunta de entrevista de Parrot

Programming problem involving MVC.