instruction:
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.
question:
Part of the freight were four hundred rough diamonds valued at four thousand pounds.
answer:
Part of the freight were four hundred rough diamonds valued at 4000.

question:
A Secret Service agent who spoke to Euins approximately twenty to thirty minutes after the assassination
answer:
A Secret Service agent who spoke to Euins approximately 20 to 30 minutes after the assassination

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