fix problem243.java