Spoiler for Solution...I hope..

I came to result but i am not sure...if anyone can find the flaw please mention

The three numbers are- x, y, z=x+y (assuming unequal, if it is equal...it is too easy) and x>y so, z>x>y

now let A's hat has x, B's hat has y and C's hat has z

Case1:

1. Ask A, Ans: "I dont know", because his numbers may be z+y or z-y(as z>y,

2. Ask B, as he will see z>x, so, considering A's answer, the z+y=x is not possible, only z-y=x is possible. So, he can tell his number by subtracting x from z (z-x) . THE RESULT IS OBTAINED by B.

Case2:

1. Ask B, Ans: "I dont know", because his numbers may be z+x or z-x(as z>x,

2. Ask C, as he will see x>y, so, considering B's answer, the z+x=y is not possible, only z-x=y is possible. So, he can tell his number by subtracting y from x (x-y) . THE RESULT IS OBTAINED by C.

Case3:

1. Ask C, Ans: "I dont know", because his numbers may be x+y or x-y(as x>y,

2. Ask A, as he will see z>y, so, considering B's answer, the x-y=z is not possible, only x+y=z is possible. So, he can tell his number by subtracting y from z (z-y) . THE RESULT IS OBTAINED by A.

The three numbers are- x, y, z=x+y (assuming unequal, if it is equal...it is too easy) and x>y so, z>x>y

now let A's hat has x, B's hat has y and C's hat has z

Case1:

1. Ask A, Ans: "I dont know", because his numbers may be z+y or z-y(as z>y,

*all**positive integer*)2. Ask B, as he will see z>x, so, considering A's answer, the z+y=x is not possible, only z-y=x is possible. So, he can tell his number by subtracting x from z (z-x) . THE RESULT IS OBTAINED by B.

Case2:

1. Ask B, Ans: "I dont know", because his numbers may be z+x or z-x(as z>x,

*all**positive integer*)2. Ask C, as he will see x>y, so, considering B's answer, the z+x=y is not possible, only z-x=y is possible. So, he can tell his number by subtracting y from x (x-y) . THE RESULT IS OBTAINED by C.

Case3:

1. Ask C, Ans: "I dont know", because his numbers may be x+y or x-y(as x>y,

*all**positive integer*)2. Ask A, as he will see z>y, so, considering B's answer, the x-y=z is not possible, only x+y=z is possible. So, he can tell his number by subtracting y from z (z-y) . THE RESULT IS OBTAINED by A.

**So, THE SECOND PERSON TO ASK CAN LOGICALLY SAY HIS NUMBER ON HIS OWN HAT....IF HE IS ENOUGH INTELLIGENT...LIKE ME**
**Edited by storm, 31 March 2008 - 06:06 AM.**