One bag contains two white marbles, another bag contains two black marbles, and a third bag contains one white marble and one black marble. I pick a random bag and take out a black marble.

What is the probability that the remaining marble from the same bag is also black?