A bag contains n nickels and a quarters worth a total of $40.
Which equation models this information?
A. 0.5n+0.25q = 40
B. n+q= 40
C. 5n+257 = 40
D. 0.05n+ 0.250 = 40