An urn contains 3 red balls and n white balls. Mr. A draws two balls together from the urn. The probability that they have the same color is12 . Mr. B draws one balls form the urn, notes its color and replaces it. He then draws a second ball from the urn and finds that both balls have the same colour is 58. The possible value of n is