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: At approximately 9 p.m., after the children had been put to bed, Mrs. Paine, according to her testimony before the Commission, quote,

Output: At approximately nine p.m., after the children had been put to bed, Mrs. Paine, according to her testimony before the Commission, quote,


Input: Consider Input: Oswald had paid the first month's rent in advance on March 2, 1963,

Output: Oswald had paid the first month's rent in advance on March two, nineteen sixty three,


Input: Consider Input: Oswald moved to Dallas on about October 8, 1962, without telling his mother where he was going.


Output: Oswald moved to Dallas on about October eight, nineteen sixty two, without telling his mother where he was going.