The cupcakes were numbered 1 through 100. You were supposed to take the cupcake that corresponded to your hat. Most people figured it out.