Update Solution9Q2.java