Update solution005.java