Update Solution1Q5.java