Question d’entretien chez DraftKings

implement this function given the three classes provided