A code is being written using 5 distinct symbols: !, @, $, %,
#
a. How many 10 digit codewords are there that use exactly 2 of
each symbol?
b. If a 10-digit codeword is chosen at random, what is the
probability that it will use exactly 2 of each symbol?