A furniture company manufactured 17 upholstered seats and 18 wooden seats in the morning, and then produced another 29 in the afternoon. They repeated this production in the evening. Later on, they gave away 48 chairs to charity and used 7 chairs for quality testing. How many chairs are left after these operations?