Anatoliy has a combination of 104 nickels and quarters totaling $22. Which system of linear equations can be used to find the number of nickels, n, and the number of quarters, q, Anatoliy has?

A. n = q = 22
0.05n + 0.25q = 104

B. n + q = 104
5n + 25q = 22

C. n + q = 104
0.05n + 0.25q = 22

D. n + q = 22
5n + 25q = 104