Probability of selecting balls from different sets