Pat throws her loose change into a can on her desk. When she took it out, there were only quarters and nickels. There were a total of 65 coins. If she had a total of $13.65, find the number of quarters and nickels.