remove double from problem243.java