A cyclist rides from one point to another over five days.
On the first day she covers one eighth of the total distance.
The next day she covers one quarter of what is left.
The following day she covers two fifths of the remainder
and on the fourth day half of the remaining distance.
The cyclist now has 25 miles left.
How many miles has she travelled?