12(X+Y)=20Y
12X=8Y
Y=3/2*x
Assuming that all are assigned to a large category and no one can be assigned to n, then
nX=20Y
nX=20*3/2 *x
n=30
So if all of them are given to the big class, each person will be given 30.