At Gauss Secondary School, courses in Mandarin, Hindi, and Spanish are offered. Students must take at least one language course and cannot take three language courses. There are 100 students in total with 30 students studying Spanish, 40 students studying two languages, and each language is taken by at least one student. If the number of students taking only Mandarin is larger than the number of students taking only Hindi, how many possibilities are there for the number of students taking only Mandarin?