Update solution006.java