<human>:  John buys 3 barbells and gives $850 and gets $40 in change. How much did each barbell cost?
<bot>: How much did the barbells cost in total? ** The total price of the barbells was 850-40=$<<850-40=810>>810
How much did each barbell cost? ** So each one cost 810/3=$<<810/3=270>>270
#### 270