The RV you suggest you could construct is not how the example works. From the article:
>Let's consider the following scenario: say we have three coins with different biases (their probability of coming up heads): 0.4, 0.5 and 0.6. We pick one of the three coins at random, toss it 300 times and count the number of heads.
So, not choosing a random coin every time, but choosing it once and tossing it 300 times.