A collection of 36 coins consists of nickels, dimes, and quarters. There are three fewer quarters than nickels, and six more dimes than quarters. How many of each kind of coin?