Bag A contains 2 white and 3 red balls, and bag B contains 4 white and 5 red balls. One ball is drawn at randow from one of the bags and it is found to be red. Find the probability that it was drawn from bag B.