A bakery sells cookies in packs of 5. Each pack costs $3. If a customer buys 4 packs and then returns 2 packs, how much does the customer spend in total? Let's think step by step and output the final answer within \boxed{}.
user