Have the user enter how many dozens of cookies they have (within specified range) and how many friends they have (within specified range). Then have the program calculate how many whole cookies each person gets, keeping in mind that the Cookie Monster gets the rest.