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:
These indeed were out to the value of three hundred sixty seven thousand, eight hundred pounds.

Ex Output:
These indeed were out to the value of £367,800.


Ex Input:
The Science: History of the Universe, Volume five. Edited by Francis Rolt Wheeler.

Ex Output:
The Science: History of the Universe, Volume 5. Edited by Francis Rolt Wheeler.


Ex Input:
Between the hours of eight and nine p.m. they were occupied with the children in the bedrooms located at the extreme east end of the house.

Ex Output:

Between the hours of 8 and 9 p.m. they were occupied with the children in the bedrooms located at the extreme east end of the house.