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 Chronicles of Newgate, Volume two. By Arthur Griffiths. Section twelve: Executions, part two.

Ex Output:
The Chronicles of Newgate, Volume 2. By Arthur Griffiths. Section 12: Executions, part two.


Ex Input:
from eighteen thirty two to eighteen forty four not a single person had been executed in the metropolis except for this the gravest crime.

Ex Output:
from 1832 to 1844 not a single person had been executed in the metropolis except for this the gravest crime.


Ex Input:
In eighteen fifty Sir George Grey brought forward a new motion to the same effect,

Ex Output:

In 1850 Sir George Grey brought forward a new motion to the same effect,