In a class of 40 students, 12 enrolled for both Italian and French. 22 enrolled for French. If the students of the class enrolled for at least one of the two subjects, then how many students enrolled for only Italian and not French?