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: But about 1850 the two sides were distinctly hostile, and the controversy ran high.

Output: But about eighteen fifty the two sides were distinctly hostile, and the controversy ran high.


Input: Consider Input: When Governor Connally called at the White House on October 4 to discuss the details of the visit,

Output: When Governor Connally called at the White House on October four to discuss the details of the visit,


Input: Consider Input: (3) the identity of the person present at the window from which the shots were fired,


Output: (three) the identity of the person present at the window from which the shots were fired,