A census taker approaches a house and asks the woman who answers the door, “How many children do you have, and what are their ages?”
Woman: “I have three children, the product of their ages is 36, the sum of their ages is equal to the address of the house next door.”
The census taker walks next door, comes back and says, “I need more information.” The woman replies, “I have to go, my oldest child is sleeping upstairs.” Census taker: “Thank you, I now have everything I need.”
What are the ages of each of the three children?