you must double the contents of the bucket which receives the water.One of your friend finds out the solution for the 3,2,1 problem as something like this
321 -- 141 --042
At this the stranger is startled and tells that this is possible for any amount of water in any bucket say a,b,c as far as they are natural numbers. HOW??