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:
This, with a scheme for limiting the jail to untried prisoners, had been urgently recommended by Lord John Russell in eighteen thirty.

Ex Output:
This, with a scheme for limiting the jail to untried prisoners, had been urgently recommended by Lord John Russell in 1830.


Ex Input:
that the man was a, quote, white male, about twenty five, about five feet eight, brown hair, medium, end quote, and wearing a, quote,

Ex Output:
that the man was a, quote, white male, about 25, about five feet eight, brown hair, medium, end quote, and wearing a, quote,


Ex Input:
After leaving the Depository Building at approximately twelve:thirty three p.m., Lee Harvey Oswald proceeded to his roominghouse by bus and taxi.

Ex Output:

After leaving the Depository Building at approximately 12:33 p.m., Lee Harvey Oswald proceeded to his roominghouse by bus and taxi.