before we start, ask yourself, how are you going to win a car. the answer is that there are two ways.

Case 1. win by not swapping

         in this case you have to chose the car at first place and stick with it by now swapping. so the possibility will samplely 
         P(car) = 1/3

case 2. win by swapping

         Think about it that after one goat door is open, the remaining doors contain a goat and a car and what behind your door can
either be a goat or a car. Now in order to win by swapping, you have to have a goat behind your door (b/c if you have a car now,you'll end up with a goat after swapping). so we can samplely calculate the possibility of getting goat in the first place, because after swapping you will end up with a car.
         P(car after swap) = P(not a car in first pike) = P(goat) = 2/3

That's the youtube or orginal monte hall probelm solution, but doesn't apply to this 3.1B in this problem, two people are picking!

case 1. win by not swapping (let your friend pick first)

         in this case you have to chose the car, and your friend have to chose the goat in order to get kicked out.
         P(you win)=P(your friend pike goat|you pick car)=(2/3) * (1/2) = 1/3

case 2. win by not swapping (you pick first)

          in this case you have to chose the car, and your friend have to chose the goat in order to get kicked out.
         P(you win)=P(you pick car|your friend pick goat)=(1/3)*(2/2) = 1/3

case 3. win by swapping (let your friend pick first)

         in this case you both have to choose goat
         P(you win)=P(you pick goat|your friend picks goat)=(2/3)*(1/2) = 1/3

case 4. win by swapping (you pick first)

         in this case you both have to choose goat
         P(you win)=P(your friend picks goat|you pick goat)=(2/3)*(1/3)= 1/3


Conclusion: it doesn't matter, because you end up with 1/3 chance of winning anyway.

Alumni Liaison

Ph.D. 2007, working on developing cool imaging technologies for digital cameras, camera phones, and video surveillance cameras.

Buyue Zhang