Close #9 Greedy Algorithm.