A bag contains three blue beads and one yellow bead. You reach into the bag and pull out a bead, replacing it with a blue bead regardless of the color you pulled out. What is the probability that all beads in the bag are blue after two such replacements?