In a shop X, 30 tins of ghee of type A and 40 tins of ghee of type B which look alike, are kept for sale. While in shop Y, similar 50 tins of ghee of type A and 60 tins of ghee of type B are there. One tin of ghee is purchased from one of the randomly selected shop and is found to be of type B. Find the probability that it is purchased from shop Y.