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: In 1943 PRS received approximately 9,000 items of information;

Output: In nineteen forty three PRS received approximately nine thousand items of information;


Input: Consider Input: So much inconvenience ensued, that in 1518 the Corporation obtained from Parliament an act empowering two aldermen

Output: So much inconvenience ensued, that in fifteen eighteen the Corporation obtained from Parliament an act empowering two aldermen


Input: Consider Input: who was convicted in 1841 of uttering false exchequer bills to an almost fabulous amount.


Output: who was convicted in eighteen forty one of uttering false exchequer bills to an almost fabulous amount.