You are a priest in an important temple in ancient Egypt. Every day, farmers who work the temple lands bring in their required contribution of food and meat. It is your job to watch over what is coming into the temple storehouses and what is going out every day.
You must first keep a tally of the contributions that the farmers bring in each day. Then add the contributions to the storerooms in the temple. Finally, at the end of each day, you must give each priest some of the food that has been brought to the temple.