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: William IV. was also the victim of a murderous outrage on Ascot race course in 1832,

Output: William the fourth was also the victim of a murderous outrage on Ascot race course in eighteen thirty two,


Input: Consider Input: The official Bureau files confirm Hosty's statement that from November 5 until the assassination, no active investigation was conducted.

Output: The official Bureau files confirm Hosty's statement that from November five until the assassination, no active investigation was conducted.


Input: Consider Input: and in 1841 this was accepted as the almost universally established rule.


Output: and in eighteen forty one this was accepted as the almost universally established rule.