In a class of 30 students, 22 study physics (P) and 19 study chemistry. What is the number of students who study both physics and chemistry?​