264 sweets were shared among a class of students, 5/9 of them received 4 sweets each. 1/3 of the remaining students received 3 sweets each and the rest received 2 sweets each. How many students were there at first?
Let the total amount of students in the class be s.
Note that 59th of the students will get 4 sweets, 13×(1−59)=427th of the students will get 3 sweets, and 827th of the students will get 2 sweets.
From this, we can form the equation: (59s×4)+(427s×3)+(827s×2)=264.
Simplifying, we get: 8827s=264, meaning there were originally 81 students.