Update Solution4Q8.java