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 606, Nineveh, the old enemy of Babylon, fell, never to rise again.

Output: In six oh six, Nineveh, the old enemy of Babylon, fell, never to rise again.


Input: Consider Input: 3 months prior to his regularly scheduled separation date, ostensibly to care for his mother who had been injured in an accident at her work.

Output: three months prior to his regularly scheduled separation date, ostensibly to care for his mother who had been injured in an accident at her work.


Input: Consider Input: almost 500 feet from Houston Street.


Output: almost five hundred feet from Houston Street.