A vending​ machine's coin box contains​ nickels, dimes, and quarters. The total number of coins in the box is 252 . The number of dimes is three times the number of nickels and quarters together. If the box contains dollars 24 and ​cents 85, find the number of​ nickels, dimes and quarters that it contains.

here are ​nickels,
​dimes,
quarters in the coin box.