Update POJ1108.java