Solving $$\frac{4}{4+6}\times\frac{16}{16+N}+\frac{6}{4+6}\times\frac{N}{16+N}=\frac{58}{100}$$
gives answer $N=\boxed{144}$.