In a survey of 15000 students of different schools, 40% of them were found to have tuition before the see examination. Among them 50% studied only mathematics ,30% only science and 10% studied others subject. how many student studied mathematics as well as science.