Update solAdvanced.java