A man taking the census walks up to the apartment of a mathematician and asks him if he has any children and how old they are.
- The mathematician says: "${\it\mbox{I have three daughters and the product of their ages is 72}}$".
- The man tells the mathematician that he needs more information, so the mathematician tells him ${\it\mbox{"The sum of their ages is equal to our apartment number"}}$.
- The man still needs more information so the mathematician tells him ${\it\mbox{"My oldest daughter has her own bed and the other two share bunk beds"}}$.