Sydney bought 3 bottles of glitter. Each bottle of glitter cost $6. How much did Sydney spend on the bottles of glitter?