That doesn't work - an inside-out glove has the thumb in the wrong place. (Or are surgical gloves symmetrical? I'm going off washing-up gloves here...)
This is basically a cleaner version of the 3 women 2 condom's problem.. besides the solution isn't something you'd actually do in real life, it's just a questions of whether something is possible.
Fog Creek Home