This is a word problem involving cost sharing and changes in the number of participants, solvable by setting up and solving an algebraic equation (specifically, a quadratic equation).