The ratio of teachers to male students to female students in a school is 3:17:18 if the total number of students in the school is 630 determine the number of teachers in the school