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: on which Oswald was heard for less than 5 minutes on August 17, 1963.

Output: on which Oswald was heard for less than five minutes on August seventeen, nineteen sixty three.


Input: Consider Input: that an anti Castro organization had maintained offices there for a period ending early in 1962.

Output: that an anti Castro organization had maintained offices there for a period ending early in nineteen sixty two.


Input: Consider Input: had different characteristics from both the actual bag and the sample taken on November 22.


Output: had different characteristics from both the actual bag and the sample taken on November twenty two.