A jar of coins is emptied out on a table. The jar contains 52 pennies, 12 nickels, 21 dimes, and 4 quarters. How many coins were in the jar?