Arthur and Bert each writes down a positive integer on a piece of paper and then shows it to Charles. Charles then writes two numbers on a blackboard, visible to Arthur and Bert: one of them is the sum of Arthur's and Bert's numbers, and the other is a random number.
After this Charles asks Arthur if he knows Bert's number. If Arthur says he doesn't know, then he asks Bert if he knows Arthur's number. If Bert says he doesn't know, Charles continues with Arthur, then if necessary with Bert and so on... until he gets a positive answer.
When will Charles get a positive answer?
If A=4 and B=6, and X=10 and Y=11...
A passes, because he cannot tell if B=6 or B=7.
B passes, because he cannot tell if A=4 or A=5.
What can A say now? I don't understand the reasoning in previous solutions --if they are right-- which speak about "reducing" the range of numbers; A and B have only two options.