Update Solution1Q2.java