Three surgeons and a clumsy cook go camping in the remote wilderness. The clumsy cook stumbles over the campfire as he is serving the surgeons, injuring himself and dumping hot stew on the hands of the surgeons.
The cook's injuries need surgical treatment. The surgeons' injuries are minor but open. It turns out they brought the equipment necessary for the cook's surgery with them, and they can use the campfire to sterilize the tools. But there are only two rubber gloves. Because of the different surgeons' skills, all three of the surgeons are needed to operate on the cook, in sequence.
How can this be done without any of them being exposed to the blood of any of the others?
Let us denote the three surgeons as S(1), S(2) and S(3) and we represent the two gloves as G(1) and G(2).
Then, the following procedure should be employed.
S(1) places G(1) inside G(2) and operates with G(1)
S(2) operates using only G(2)
S(3) turns G(1) upside down, places it inside G(2) and operates with G(1).