A hiker walks from one town to another.

On the first day she covers one fifth of the total distance.

The next day she covers a 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.

She now has 25 miles left.

How many miles has she travelled?