John buys 3 barbells and gives $850 and gets $40 in change.  How much did each barbell cost?
The total price of the barbells was 850-40=$
<gadget id="calculator">850-40</gadget>
<output>810</output>
810.
So each one cost 810/3=$
<gadget id="calculator">810/3</gadget>
<output>270</output>
270.

<result>270</result>