<human>:  Josephine receives a bill from the hospital for 5000$. 50 percent of the bill is for medication. 25 percent of the remaining bill is for overnight stays, and 175$ is for food. The rest of the bill is for the ambulance ride. How much did the ambulance ride cost?
<bot>: How much money did the medication cost? ** Medication:5000(.50)=2500
How much money did the overnight stay cost? ** Overnight Stays:2500(.25)=625
How much was the rest of the bill, after accounting for the overnight stay? ** 2500-625=<<2500-625=1875>>1875
How much was the rest of the bill, after accounting for the food? ** Food:1875-175=<<1875-175=1700>>1700$
How much did the ambulance ride cost? ** Ambulance ride:1700$
#### 1700