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. How many students attended the carnival of 330 did attend.