### Age of sons

There are two guys standing before a building with multiple floors.
First: "I have three children, the product of their ages is 36, can you guess their ages?"
Second: "No"
First: "The sum of their ages is equal to the number of floors in the opposite building, can you guess now?"
Second: "No"
First: "My youngest son is a very good dancer"
Second: "Yeah, I know now"
Assuming that both these guys are extremely intelligent and follow common-sense logic to find out the ages of first's children.

Source: IIT Roorkee

1. I can still give a guess as to what the ages might be...

The product of the ages is 36.
the factors are 1,2,3,4,6,9,12,18 and 36.
He says youngest son, so there is at least one kid with a distinct age that is the smallest.

the various triplets leading upto the product 36 are: 1,1,36
1,2,18
1,3,12
1,4,9
1,6,6
2,2,9
2,3,6
3,3,4

so by the above assumption at least 3 of the triplets are out. The ones left are
1,2,18
1,3,12
1,4,9
1,6,6
2,3,6
My best guess would be 2,3,6 as there are low chances of a 1 year old to be a very good dancer :)

2. yeah the same logic i thinked of but if there are other suggestions u can help.