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:
The three agreed that the President would come to Texas in late November nineteen sixty three.

Ex Output:
The three agreed that the President would come to Texas in late November 1963.


Ex Input:
Oswald went on October thirty one, to the American Embassy to renounce his U.S. citizenship.

Ex Output:
Oswald went on October 31, to the American Embassy to renounce his U.S. citizenship.


Ex Input:
at first, and for some few years after seventeen eighty four, executions took place occasionally at a distance from Newgate.

Ex Output:

at first, and for some few years after 1784, executions took place occasionally at a distance from Newgate.