Fifty students at a high school take performing arts classes. The total number of students taking drama is 18, and the total taking dance is 14. There are 5 students who take only dance and there is only 1 dance student who also takes music. Additionally, there are 10 students who take only drama. How many students study only music? Explain how you know.