Close #2. Solve POJ1001