In a class of students,
20 love cricket ,
30 love football ,
10 love tennis only, and
10 love both cricket and football only.
What is the total number of students in this class?