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: In 1814 a bill was brought in to insist upon the appointment of chaplains in jails, and when this had passed into law,

Output: In eighteen fourteen a bill was brought in to insist upon the appointment of chaplains in jails, and when this had passed into law,


Input: Consider Input: or rightwing extremism which may have existed in the city of Dallas had any connection with Oswald's actions on November 22, 1963.

Output: or rightwing extremism which may have existed in the city of Dallas had any connection with Oswald's actions on November twenty two, nineteen sixty three.


Input: Consider Input: from October 9, 1962, to May 14, 1963.


Output: from October nine, nineteen sixty two, to May fourteen, nineteen sixty three.