All students in the sixth grade class either attend academic or non-academic afterschool programs. 36% of the students attend the non-academic after school program 240 students attend the academic after school program. how many students are in the 6th grade?