Jack has $4.95 in dimes and quarters. He has 30 coins total. How many dimes and how many quarters does he have ?