The following variables will keep track of the number of outcomes in each scenario.
We are now ready for the main loop. We will conduct 10,000 trials of shuffling a deck and picking cards from the top in order until one of the 4 scenarios occurs. When a win or loss is detected, we stop drawing cards, reset our counters and loop through another game.
Our simulation suggests that we win the big prize about 5.8% of the time, the medium prize about 15.7% of the time, the small prize about 39.3% of the time, and we lose about 39.1% of the time. This is just a simulation, since scenarios 3 and 4 are identical, we should expect that those probabilities are equal. This also supports the idea that the odds of winning any prize are better than 50%. In fact, our computations suggest that the odds of winning at all about about 61%.