Three wise men are following a star to Bethlehem.
On the first day they travel one fifth of the total distance.
The next day they cover on third of what is left.
The following day they cover one quarter of the remainder,
and on the fourth day they cover half of the remaining distance.
The three wise men have 25 miles left. How many miles have they travelled?