The task is to read a passage and convert numbers in their text forms into digit forms. The text numbers can be used to represent Quantity, Dates and Time, Addresses or Positions.

Ex Input:
who declared that the rough diamond market was in such a depressed condition that they could only afford to give one thousand seven fifty pounds for stones worth

Ex Output:
who declared that the rough diamond market was in such a depressed condition that they could only afford to give £1750 for stones worth


Ex Input:
In eighteen fifty five

Ex Output:
In 1855


Ex Input:
each containing two notes, many of the sheets suitable for engraving any kind of note from one thousand pounds downwards.

Ex Output:

each containing two notes, many of the sheets suitable for engraving any kind of note from £1000 downwards.