Mark has 45 cents in dimes and nickels . He has 3 more nickels than dimes . How many of each type of coin does Mark have?