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.

[Q]: Wagner, after conviction, offered to reveal, for a reward of three thousand pounds
[A]: Wagner, after conviction, offered to reveal, for a reward of £3000


[Q]: three hundred debtors and nine hundred criminals in Newgate, or twelve hundred prisoners in all.
[A]: 300 debtors and 900 criminals in Newgate, or twelve hundred prisoners in all.


[Q]: Shortly thereafter, less than eighteen months after his defection, about six weeks before he met Marina Prusakova,
[A]:
Shortly thereafter, less than 18 months after his defection, about 6 weeks before he met Marina Prusakova,