CCGPS AA 1.6.2 Example 1

Your favorite sour candy comes in a package consisting of three flavors: cherry, grape, and apple. However, the flavors are not equally distributed in each bag. You have found out that 30% of the candy in a bag is cherry, half of the candy is grape, and the rest is apple. How many candies will you have to pull from the bag before you get one of each flavor? Create and implement a simulation for this situation.