The problem:

There are two integer numbers greater than 1.  Person A knows the sum of the two numbers
and person B knows the product of the two numbers. The following dialogue takes place:
 
A : You don't know what the numbers are.
B : I know what the numbers are.
A : Now I know what the numbers are, too.

 What are the numbers?

 

 Solution