In a mixed secondary school there are 60 more boys than girls. Half of the boys and 2/3 of the girls are boarders. If there are 240 boarders, find the total number of students in the school.