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? Let's think step by step and output the final answer after "####".
user
Medication:5000(.50)=2500
Overnight Stays:2500(.25)=625
2500-625=<<2500-625=1875>>1875
Food:1875-175=<<1875-175=1700>>1700$
Ambulance ride:1700$
#### 1700
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?
train