X and Y are two different whole numbers with 1 < X,Y < 100.
S and P are two (quite smart
) persons, of whom S only knows the sum and P only knows the product.
The following conversation occurs:
S: "You do not know X and Y."
P: "Now I know X and Y."
S: "Now I also know X and Y."
What are X and Y? Note: there is exactly one solution to the given conditions.
Also known as The Impossible Puzzle.