Students from various schools participated in a state-level olympiad.
1500 students from School A participated in the exam. The ratio of the boys to the girls was 7:8. 40% of the boys failed, while 70% of the girls passed in the exam from School A.
If the total number of students who failed from School A constitutes 10% of the total students who participated, find the number of students that participated in the olympiad.