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?
Please reason step by step, and put your final answer within \boxed{}.
user