Monica was collecting quarters and nickels in a jar. She kept track of the total value of the coins, as well as, how many coins were actually in the jar. However, she forgot specifically to track how many of each coin there is in the jar. If the total value of all the coins is $5.60 and there are 46 coins, how many nickels and quarters are in the jar?