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:
Sorrels and Lawson drove over the selected route with Batchelor and other police officers, verifying that it could be traversed within forty five minutes.

Ex Output:
Sorrels and Lawson drove over the selected route with Batchelor and other police officers, verifying that it could be traversed within 45 minutes.


Ex Input:
This vehicle, a nineteen fifty five Cadillac eight passenger convertible especially outfitted for the Secret Service,

Ex Output:
This vehicle, a 1955 Cadillac eight passenger convertible especially outfitted for the Secret Service,


Ex Input:
In eighteen fifty three three men escaped in company from one of the wards in the middle yard.

Ex Output:

In 1853 three men escaped in company from one of the wards in the middle yard.