In a school where there was a compulsion to learn at least one foreign language from the choices given, namely German, French and Spanish: 28 students took French, 30 took German, and 32 took Spanish. 6 students learnt French and German, 8 students learnt German and Spanish, and 10 students learnt French and Spanish. 54 students learnt only one foreign language, while 20 students learnt only German. Find the number of students in the school.