A bag contains $2n+1$ coins. It is known that $n$ of these coins have a head on both sides. Whereas the remaining $n+1$ coins are fair. A coins is picked up at random from the bag and tossed. If the probability that the toss results in a head is $\large\frac{31}{42}.$ then $n$=