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: The Secretary of the Treasury submitted this planning document on August 31, 1964,

Output: The Secretary of the Treasury submitted this planning document on August thirty one, nineteen sixty four,


Input: Consider Input: but only two of the four discarded cartridge cases found on the lawn at 10th Street and Patton Avenue were of Winchester Western manufacture.

Output: but only two of the four discarded cartridge cases found on the lawn at tenth Street and Patton Avenue were of Winchester Western manufacture.


Input: Consider Input: During his Presidency, Franklin D. Roosevelt made almost 400 journeys and traveled more than 350,000 miles.


Output: During his Presidency, Franklin D. Roosevelt made almost four hundred journeys and traveled more than three hundred fifty thousand miles.