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.

Example Input: High prices were asked and paid for front seats or good standing room. As much as five pounds was given for the attic story
Example Output: High prices were asked and paid for front seats or good standing room. As much as £5 was given for the attic story

Example Input: Abuses and irregularities, which had been partially remedied by the reform introduced in eighteen thirty seven, were once more in the ascendant.
Example Output: Abuses and irregularities, which had been partially remedied by the reform introduced in 1837, were once more in the ascendant.

Example Input: possessed the capability to hit his target with two out of three shots under the conditions described in chapter three.
Example Output:
possessed the capability to hit his target with two out of three shots under the conditions described in chapter 3.