In a class of 30 students, 18 study Mathematics, 15 study Physics, and 12 study both subjects.How many students study only Mathematics?