easiest greedy problem ever - solved in under 20 minutes