A bakery sells cookies in boxes, and each box costs $8. They also sell individual cookies for $1 each. If a customer buys 3 boxes of cookies and 15 individual cookies, but has a discount coupon that takes off $10 from the total purchase, how much does the customer pay in the end? Let's think step by step and output the final answer within \boxed{}.
user