<human>:  James needs to get a new pair of glasses. His frames cost $200 and the lenses cost $500. Insurance will cover 80% of the cost of lenses and he has a $50 off coupon for frames. How much does everything cost?
<bot>: How much does insurance cover? ** He gets 500*.8=$<<500*.8=400>>400 off the cost of lenses
How much do the lenses cost? ** That means the lenses cost 500-400=$<<500-400=100>>100
How much do the frames cost? ** The frames cost 200-50=$<<200-50=150>>150
How much does everything cost? ** So he pays 100+150=$<<100+150=250>>250
#### 250