Create problem51.java