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: drove to the northwest corner of Elm and Houston, and parked approximately 10 feet from the traffic signal.

Output: drove to the northwest corner of Elm and Houston, and parked approximately ten feet from the traffic signal.


Input: Consider Input: by members of the midnight to 8 a.m. shift of the White House detail.

Output: by members of the midnight to eight a.m. shift of the White House detail.


Input: Consider Input: When Oswald was arrested, he had in his possession a Smith & Wesson 38 Special caliber revolver,


Output: When Oswald was arrested, he had in his possession a Smith and Wesson thirty eight Special caliber revolver,