Create Q3_6.java