Xavior took a total of 124 quarters and dimes to trade in for cash at the bank. He got exactly $25 back. How many quarters did he have?

A.
40

B.
62

C.
84

D.
100