Sandy rented a car. She paid a flat rental fee of $59 plus an additional charge of $39 for each day. The total amount she paid for the service was $293. If no other charges or tax were included in the total, for how many days did she rent the car?