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.

Input: Consider Input: The Chronicles of Newgate, Volume 2. By Arthur Griffiths. Section 5: Newgate down to 1818, part 2.

Output: The Chronicles of Newgate, Volume two. By Arthur Griffiths. Section five: Newgate down to eighteen eighteen, part two.


Input: Consider Input: During the evening of November 22, the Dallas Police Department performed paraffin tests on Oswald's hands and right cheek

Output: During the evening of November twenty two, the Dallas Police Department performed paraffin tests on Oswald's hands and right cheek


Input: Consider Input: Again, as late as 1809 and 1812, Execution Dock, on the banks of the Thames, was still retained.


Output: Again, as late as eighteen oh nine and eighteen twelve, Execution Dock, on the banks of the Thames, was still retained.