How many ways are there to pick a selection of coins from $1 worth of identical pennies, $1 worth of identical nickels, and $1 worth of identical dimes if (a) you select a total of 9 coins? (b) you select a total of 16 coins?