Update Problem031.java