Here is one of the Lewis Carroll’s Pillow Problems (problem # 5):
A bag contains a counter, known to be either white or black. A white counter is put in, the bag is shaken, and a counter is drawn out, which proves to be white. What is now the chance of drawing a white counter?
We will use Bayes’ theory to get the required probability.
= 1/2/[1/2+1/4] = 2/3 = 0.66