Create problem49.java