John was counting his spare change. He had nine dimes and 4 times as many quarters.How many quarters does John have?