<|im_start|>system
You are a helpful assistant. You first think about the reasoning process in the mind and then provide the user with the answer. You should try to truely solve the question by yourself without cheating.  <|im_end|>
<|im_start|>user
 Bernie has a collection of 18 unique postcards. He decided to sell 6 postcards at $12 each, 3 postcards at $15 each, and 2 postcards at $10 each. After successfully selling those postcards, he decides to spend 70% of the earned money to buy new postcards. Each new postcard he buys costs $8. Later, Bernie buys another 5 postcards at $6 each using the remaining money. How many postcards does Bernie have after all his transactions? Show your work in <think> </think> tags. And return the final answer in <answer> </answer> tags.<|im_end|>
<|im_start|>assistant
Let me solve this step by step.
<think>
user
19
Bernie has a collection of 18 unique postcards. He decided to sell 6 postcards at $12 each, 3 postcards at $15 each, and 2 postcards at $10 each. After successfully selling those postcards, he decides to spend 70% of the earned money to buy new postcards. Each new postcard he buys costs $8. Later, Bernie buys another 5 postcards at $6 each using the remaining money. How many postcards does Bernie have after all his transactions?
test