The task is reading a paragraph containing numbers as digits. The digits can be used to represent Quantity, Dates and Time, Addresses or Positions. Convert the digits into their text equivalents. If a number has a prefix, postfix or punctuation preserve it in the text equivalent. 100000 is translated as hundred thousand, Roman numerals are also translated. If multiple numbers are present convert all instances.

This bill, reintroduced in 1877, became law that year, after which the whole of the prisons, including Newgate,
This bill, reintroduced in eighteen seventy seven, became law that year, after which the whole of the prisons, including Newgate,

The suspect last seen running west on Jefferson from 400 East Jefferson.
The suspect last seen running west on Jefferson from four hundred East Jefferson.

to fifty six in 1839.

to fifty six in eighteen thirty nine.