Update Solution1Q4.java