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:
fired a pistol at George the third from the pit of Drury Lane theatre in eighteen hundred.

Ex Output:
fired a pistol at George III. from the pit of Drury Lane theatre in 1800.


Ex Input:
(four) the killing of Dallas Patrolman J. D. Tippit within forty five minutes after the assassination, (five)

Ex Output:
(4) the killing of Dallas Patrolman J. D. Tippit within 45 minutes after the assassination, (5)


Ex Input:
Power production in this country is virtually back to the nineteen twenty nine peak.

Ex Output:

Power production in this country is virtually back to the 1929 peak.