% one pizza too few
n = floor(315 * 3 / 16);

% total number of slices is 16 * n
% number of slices if each student gets 3 slices is 315 * 3
rem(315 * 3, 16 * n)
