Urn A has 16 white and 10 red balls. Urn B has 2 white and 9 red balls. We flip a fair coin. If the outcome is heads, then a ball from urn A is selected, whereas if the outcome is tails, then a ball from urn B is selected. Suppose that a red ball is selected. What is the probability that the coin landed heads?