<|im_start|>system
You are a helpful assistant. You first thinks about the reasoning process in the mind and then provides the user with the answer.<|im_end|>
<|im_start|>user
Using the numbers [5, 8, 40, 10], find a combination that leads to the target number 50. Try different strategies, such as multiplication, division, addition, and subtraction. Conceivably each number above can be part of your equation, but remember, each should only be used once. Additionally, divide problem-solving into steps as detailed instructions would direct: Show your work in <think> </think> tags. Returning your final equation and answer final <answer>.<|im_end|>
<|im_start|>assistant
Let me solve this step by step.
<think>