There are two bags, one of which contains 3 black and 4 white balls, while the other contains 4 black and 3 white balls. A dice is cast, if the face 1 or 3 tums up, a ball is taken from the first bag and if any other face turns up, a ball is chosen from the second bag. The probability of choosing a black ball is .........