It costs 3 tickets to play a game at the fair. If you spent 21 tickets on the game, which equation could you use to solve for the number of games, g?

A. 21g=3
B. 21·3=g
C. g3=21
D. 3g=21