3/4 of the students in a school were girls and the rest were boys. 2/3 of the girls and 1/2 of the boys attended the school carnival. Find the total number of students in the school if 330 students did not attend the carnival