Create problem41.java