Create problem23.java