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: Just prior to the shooting, Mrs. Helen Markham, a waitress in downtown Dallas, was about to cross 10th Street at Patton.

Output: Just prior to the shooting, Mrs. Helen Markham, a waitress in downtown Dallas, was about to cross tenth Street at Patton.


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: A lady in the country, who had £13,000 in the stocks, desired her London agent to sell them out.


Output: A lady in the country, who had thirteen thousand pounds in the stocks, desired her London agent to sell them out.