Create problem12.java