Pregunta de entrevista de Endex

Simple OOD problem. Most difficult part is reading the problem statement.