<human>:  John earned 50 dollars an hour and worked 6 hours in the week. If he spends 50 dollars on gas and wants to deposit 100 dollars in the bank, how many 25 dollar pens can he buy after he buys 5 pencils that cost 10 dollars each?
<bot>: How much did John earn in total? ** He earned $50*6=$<<50*6=300>>300
How much money does John have left? ** He has $300 - $100 = $<<300-100=200>>200 to spend
How much does John spend on pencils? ** He spends 5 * $10 = $<<5*10=50>>50 on pencils
How much money does John have left after buying gas and pencils? ** After buying gas and pencils he has $200 - $50 - $50 = $<<200-50-50=100>>100 to spend on pens
How many pens can John buy? ** He can buy $100/25=<<100/25=4>>4 pens
#### 4