A vending machine accepted any combination of nickels, dimes, and quarters that added to $0.40. How many different combinations of coins were possible?