The total price of the barbells was 850-40=$<<850-40=810>>810

So each one cost 810/3=$<<810/3=270>>270

# Answer

270
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
John buys 3 barbells and gives $850 and gets $40 in change.  How much did each barbell cost?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
270
John buys 3 barbells and gives $850 and gets $40 in change.  How much did each barbell cost?
train