A bag contains 8 blue marbles, 3 red marbles, 6 purple marbles, and 7 green marbles. A marble is chosen at random from the bag. What is the probability of choosing a green or blue marble from the bag?