There are $4$ green and $6$ red balls in a box. There are $16$ green balls and a number of $N$ red balls in another box. A single ball is taken from each of the boxes. The probability of the two balls being the same type is $58$%.
Find the value of $N$.
Source: MAA