1/6 * 264 = 44 small cartons
2/3 * 264 = 174 medium cartons
1/6 + 2/3 = 5/6, so there is 1/6 left for the large cartons , since the fractions
must add up to 1
1/6 * 264 = 44 large cartons
44*8 + 174*12 + 44*18 = 3232 eggs are needed to fill the 264 cartons