A bag contains 3 coins, one of which has a head on both sides, while other two coins are normal. A coin is chosen at random from the bag and tossed 3 times. Let X be a random variable X that is equal to the number of heads.
A) Find the probability of obtaining 3 heads.
B) If a head turns up all three times, what is the probability that this is the two-headed coin?