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:
One large item of his expenditure was a contested election at Lambeth, which he gained at a cost of ten thousand pounds.

Ex Output:
One large item of his expenditure was a contested election at Lambeth, which he gained at a cost of £10,000.


Ex Input:
Traveling expenses of these agents cost fifteen pounds, and another ten pounds were spent in the hire of a Shropshire man,

Ex Output:
Traveling expenses of these agents cost £15, and another £10 were spent in the hire of a Shropshire man,


Ex Input:
He specifically made that claim when his wife refused to come to live with him in Dallas as he asked her to do on the evening of November twenty one,

Ex Output:

He specifically made that claim when his wife refused to come to live with him in Dallas as he asked her to do on the evening of November 21,