There are 97 students in South High School. South High School offers only Chinese and Spanish. There are 5 more students in Chinese than in Spanish, and every student takes at least one language. If 48 students take only Spanish, then how many take both languages?