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 "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 "The sum of their ages is equal to our apartment number." The man still needs more information so the mathematician tells him "My oldest daughter has her own bed and the other two share bunk beds."
How old are his daughters?