Update Solution9Q4.java