Answer
37 shares of Google, 21 shares of Nintendo
Work Step by Step
Google (g) at 596 per share
Nintendo (n) at 30 per share
16 more shares of Google than Nintendo, total value 22682
$596g+30n=22682$
$g=16+n$
$596g+30n=22682$
$596*(16+n)+30n=22682$
$9536+596n+30n=22682$
$626n = 13146$
$626n/626 = 13146/626$
$n=21$
$g=16+n$
$g=16+21$
$g=37$