John and Kelly spent $40 on movie tickets and snacks last night. Tonight they spent another $12 on pizza. How much did they spend in total?