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:
and a pickup from Greyhound (bus station) at twelve:thirty p.m.,

Ex Output:
and a pickup from Greyhound (bus station) at 12:30 p.m.,


Ex Input:
and a life interest in five thousand pounds, a fact on which Smethurst's counsel dwelt with much weight,

Ex Output:
and a life interest in £5000, a fact on which Smethurst's counsel dwelt with much weight,


Ex Input:
By August of nineteen sixty three, after a short three months in New Orleans, the city in which he had been born and had lived most of his early life,

Ex Output:

By August of 1963, after a short 3 months in New Orleans, the city in which he had been born and had lived most of his early life,