Each of the n urns contains 4 white and 6 black balls. The (n+1)th urn contains 5 white and 5 black balls. Out of the (n+1) urns is chosen an urn at random and two balls are drawn from it without replacement. Both the balls turn out to be black. If the probability that the (n+1)th urn was chosen to draw the ball is 16, then the value of n is