There is a jar of jelly beans with the following flavors: 12 are grape, 17 are blueberry, 5 are pineapple and 13 are coconut. What is the probability, expressed as a percent, of selecting either a grape or blueberry?