poj2313. Greedy Algo. Hard but good~