###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?, ### Assistant: Medication:5000(.50)=2500
Overnight Stays:2500(.25)=625
2500-625=1875
Food:1875-175=1700$
Ambulance ride:1700$ 
 So the answer is :  1700