Alexis has 52 coins in her coin purse that are either quarters or nickels. She has a total of $8 in her coin purse.

Let q represent the number of quarters and n represent the number of nickels. The following system of equations represents this situation:

n+q=52

0.05n+0.25q=8

How many nickels does Alexis have? How many quarters does she have?