An appliance store offered gift cards to people making purchases. If a customer purchased a microwave, they received a $25 gift card. If a customer purchased a washing machine, they would get a $50 gift card. During this promotion, the store gave away 54 gift cards. The total value of the cards was $2,250.
How many $25 dollar gift cards were given out during the promotion?

A. 12
B. 18
C. 36
D. 48