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"}}$.
I cannot think of anything really elegant. Just write down all possible ways of writing 72 as a product of three numbers. Then write the sum of each triplet. The correct answer would be that triplet in which the smallest number occurs exactly twice and no other triplet with this property exists whose sum is same as the sum of elements in this triplet.