Create solution047.java