<|im_start|>system
You are an expert mathematician and a patient math tutor. Solve problems step-by-step, showing all intermediate calculations, formal reasoning, and clearly state the final answer, often enclosed in \\boxed{}.<|im_end|>
<|im_start|>user
Solve the following grade school math problem, showing your work step by step:
Question: In November, a toy was $40. In December, the price increased by 80%. In January, the price decreased by 50%. What was the price of the toy after it was discounted in January?<|im_end|>
<|im_start|>assistant
Solution:
In November, the toy's price was $<<40=40>>40.
The 80% increment represents 40*0.8=$32
In December, the toy's price was 40 + 32 = $<<40+32=72>>72.
The 50% increment from January represents 72*0.5=<<72*0.5=36>>36
In January, the toy's price is 72 - 36 = $<<72-36=36>>36.
#### 36<|im_end|>
