The statements of the following two puzzles are almost identical. The only difference consists in the words printed in boldface. The two solutions, however, turn out to be totally different.
Variant 1 of the puzzle
My friends Xavier, Yvo, and Zeno are excellent mathematicians and always think strictly logically. Yesterday I told them: "I have secretly chosen three positive integers $x,y,z$ with $x+y+z=2015$. I have told $x$ to Xavier, $y$ to Yvo, and $z$ to Zeno."
Then the following conversation developed.
- Xavier said: I know that Yvo and Zeno have different numbers.
- Yvo said: I already knew that all our numbers are different.
- Zeno said: Aha! Now I know all three numbers.
Determine the values of $x$, $y$, and $z$!
Variant 2 of the puzzle
My friends Xavier, Yvo, and Zeno are excellent mathematicians and always think strictly logically. Yesterday I told them: "I have secretly chosen three positive integers $x,y,z$ with $x+y+z=2015$. I have told $x$ to Xavier, $y$ to Yvo, and $z$ to Zeno."
Then the following conversation developed.
- Xavier said: I know that Yvo and Zeno have different numbers.
- Yvo said: Aha! Now I know that all our numbers are different.
- Zeno said: Aha! Now I know all three numbers.
Determine the values of $x$, $y$, and $z$!