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: According to Mrs. Paine, Oswald had gone to bed by 9 p.m.;

Output: According to Mrs. Paine, Oswald had gone to bed by nine p.m.;


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,


Input: Consider Input: The Prisons Bill of 1876 contemplated the transfer of the prisons to Government.


Output: The Prisons Bill of eighteen seventy six contemplated the transfer of the prisons to Government.


