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 period between 8 and 9 p.m., however, provided ample opportunity for Oswald to prepare the rifle for his departure the next morning.

Output: The period between eight and nine p.m., however, provided ample opportunity for Oswald to prepare the rifle for his departure the next morning.


Input: Consider Input: in a letter dated August 28, 1963, about whether he could, quote, continue to fight,

Output: in a letter dated August twenty eight, nineteen sixty three, about whether he could, quote, continue to fight,


Input: Consider Input: The Chronicles of Newgate, Volume 2. By Arthur Griffiths. Section 9: The first report of the inspector of prisons.


Output: The Chronicles of Newgate, Volume two. By Arthur Griffiths. Section nine: The first report of the inspector of prisons.