A box contains six balls, of which three are red and three are green. Two balls are selected at random from the box. If one is red and the other is green, then the selected balls are discarded and two blue balls are returned to the box. Otherwise, the selected balls are returned to the box.