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]: An enormous crowd assembled to witness the execution, amounting, it was said, to the hitherto unparalleled number of forty thousand.
[A]: An enormous crowd assembled to witness the execution, amounting, it was said, to the hitherto unparalleled number of 40,000.


[Q]: In eighteen thirty two the dissection of bodies cut down from the gallows, which had been decreed centuries previously, was abolished;
[A]: In 1832 the dissection of bodies cut down from the gallows, which had been decreed centuries previously, was abolished;


[Q]: Already, as early as eighteen eighteen, a prison existed at Bury St. Edmunds which was a model for imitation to others at that time,
[A]:
Already, as early as 1818, a prison existed at Bury St. Edmunds which was a model for imitation to others at that time,