A box contains 8 blue blocks, 7 green blocks, and 5 red blocks. If a block is chosen at random from the box, what is the probability that the block selected is either blue or red?