Leslie Green asks
"John refused to learn how to cook, despite the best efforts of his parents and teachers.
Now he is at college, any meals he prepares can contain only some combination of boiled eggs, baked beans, and pizza.
How many different meals can he prepare?"