Pedro has a bag with 8 yellow marbles, 9 blue marbles, 12 green marbles, and 7 red marbles. What is the probability that Pedro will pull out a yellow or red marble?