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:
Calcraft was born at Baddow, in Essex, in eighteen hundred;

Ex Output:
Calcraft was born at Baddow, in Essex, in 1800;


Ex Input:
It is clear that the note was written while the Oswalds were living in Dallas before they moved to New Orleans in the spring of nineteen sixty three.

Ex Output:
It is clear that the note was written while the Oswalds were living in Dallas before they moved to New Orleans in the spring of 1963.


Ex Input:
approximately thirty to forty five seconds after Oswald's lunchroom encounter with Baker and Truly.

Ex Output:

approximately 30 to 45 seconds after Oswald's lunchroom encounter with Baker and Truly.