Generate number 2 with 0.9 probability, and 4 with 0.1 probability