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:
In the early morning hours on November twenty two, nineteen sixty three,

Ex Output:
In the early morning hours on November 22, 1963,


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:
In December eighteen fifty one the balance sheet showed a deficiency of upwards of seventy thousand pounds.

Ex Output:

In December 1851 the balance sheet showed a deficiency of upwards of £70,000.