Edmodo interview question

Really average coding challenge.