In a certain linguistics school there are totally 250 students. Of those 250 students, 40 percent study French as a foreign language, 30 percent study German as a foreign language and 50 percent study Spanish as a foreign language. If 10 students study all these three foreign languages and 10 students didn’t choose these three foreign languages, then how many students are studying in exactly two of these foreign languages?