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:
On August twenty two, it learned that Oswald had appeared on a radio discussion program on August twenty one.

Ex Output:
On August 22, it learned that Oswald had appeared on a radio discussion program on August 21.


Ex Input:
As the Prison Discipline Society pertinently observed in a report dated eighteen twenty,

Ex Output:
As the Prison Discipline Society pertinently observed in a report dated 1820,


Ex Input:
Thus in the years between May first, eighteen twenty seven, and thirtieth April, eighteen thirty one,

Ex Output:

Thus in the years between May 1st, 1827, and 30th April, 1831,