Pregunta de entrevista de Rodeapps

Was a pretty easy problem to handle classes, OOP