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:
in his evidence in eighteen fourteen, said it was more,

Ex Output:
in his evidence in 1814, said it was more,

Ex Input:
He lived in Rosemary Lane, and sometimes he had as much as twenty thousand pounds worth of goods secreted on the premises.

Ex Output:
He lived in Rosemary Lane, and sometimes he had as much as 20,000 worth of goods secreted on the premises.

Ex Input:
In five thirty eight the city fell, and for a time it became the home of the Persian King.

Ex Output:
In 538 the city fell, and for a time it became the home of the Persian King.