In a school 37 of the students are girls and the rest are boys 14 of the boys are below ten years of age and 56 of the girls are also below ten years of age. If the number of students above ten years of age is 500, then find the total number of students in the school