There are two boxes, Box A and Box B. Box A contains 3 red and 6 black balls. Box B contains 5 red and n black balls. One of the two boxes is selected randomly. The ball drawn is found to be red. If the probability that this red ball comes out from Box B is \(\frac{1}{3}\) then the value of n is
1
10
2
12
3
20
4
25