John and Kelly spent $40 on movie tickets and snacks last night. A movie ticket costs $11.75. How much did they spend on snacks?