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: and at the time of the robbery there were still £6000 worth in the warehouse.

Output: and at the time of the robbery there were still six thousand pounds worth in the warehouse.


Input: Consider Input: According to Chief Rowley, by mid June 1964,

Output: According to Chief Rowley, by mid June nineteen sixty four,


Input: Consider Input: and was arrested because of a dispute with three anti Castro Cuban exiles, and again on August 16, 1963.


Output: and was arrested because of a dispute with three anti Castro Cuban exiles, and again on August sixteen, nineteen sixty three.