<human>:  Andy walks 50 meters from his house to school. After school, he comes back to the house and goes to the market. If he walks 140 meters in total, how many meters is the distance between the house and the market?
<bot>: How many meters does Andy walk from home to school? ** He walks 50m from home to school and walks 50m again from school to house, so he walks 50m + 50m = <<50+50=100>>100 meters
How many meters is the distance between the house and the market? ** If the total distance is 140m, the distance between the house and the market is 140m - 100m = <<140-100=40>>40 meters.
#### 40