Charlie and Deanna went to the movies and spent $36 on tickets and snacks. Charlie paid $10 more than Deanna. How much did each spend?