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: for the 3 month period prior to the assassination reflects an extremely critical attitude toward President Kennedy and his administration

Output: for the three month period prior to the assassination reflects an extremely critical attitude toward President Kennedy and his administration


Input: Consider Input: Persons were still living in 1855 who had witnessed dissections at Hicks' Hall, and


Output: Persons were still living in eighteen fifty five who had witnessed dissections at Hicks' Hall, and