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:
three hundred debtors and nine hundred criminals in Newgate, or twelve hundred prisoners in all.

Ex Output:
300 debtors and 900 criminals in Newgate, or twelve hundred prisoners in all.


Ex Input:
Neild found at his visit to Newgate in eighteen ten,

Ex Output:
Neild found at his visit to Newgate in 1810,


Ex Input:
At that point, direction of the President's treatment was undertaken by Dr. Malcolm O. Perry, who arrived at trauma room one a few moments after the President.

Ex Output:

At that point, direction of the President's treatment was undertaken by Dr. Malcolm O. Perry, who arrived at trauma room 1 a few moments after the President.