The Monty Hall problem

The problem
123

You're on a game show. There are three doors. Behind one is a car, behind the other two are goats. You pick door 1. The host — who knows what's behind every door — opens door 3 to reveal a goat. Then he asks: do you want to switch to door 2, or stay with door 1?