The total value of the pennies and nickels was $14.50. Hala counted the coins and found there were 450 coins in all. How many of each type of coin did she have?