The coin container on a bus has 10 more nickels than dimes and together the nickels and dimes are worth $3.50. How many nickels and dimes are in the container?