sam has five more dimes than quarters and four fewer nickels than quarters. if he has a total of $4.70, how many of each does he have?