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.

Ex Input:
It was in 1817 that a small band of philanthropists resolved to form themselves into an association for the improvement of prison discipline.

Ex Output:
It was in eighteen seventeen that a small band of philanthropists resolved to form themselves into an association for the improvement of prison discipline.


Ex Input:
Among these guns was a .38 Special caliber Smith & Wesson revolver, serial No. V510210,

Ex Output:
Among these guns was a thirty eight Special caliber Smith and Wesson revolver, serial Number V five one zero two one zero,


Ex Input:
About 1 week after the return from New Orleans,

Ex Output:

About one week after the return from New Orleans,