Create solution046.java