How many quarters and dimes does Andrew have if he counted that he had 22 coins that amounted to $4?