Only one way to settle who gets the left over cookie dough. A coding contest. OK you two get started.

<sneaks away to steal the cookie dough>