A bag A contains 3 red, 2 white and 2 black balls and another bag B contains 1 red, 2 white and 4 black balls. A die is thrown to select a bag. If an odd prime number appears on the die, a ball is drawn from bag A; otherwise from bag B. If the ball drawn is black, then the probability that it is drawn from bag B is