Create solution049.java