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: It had been supposed up to this date that he had willed his property, amounting in all to upwards of £200,000,

Output: It had been supposed up to this date that he had willed his property, amounting in all to upwards of two hundred thousand pounds,


Input: Consider Input: He was taken to a hospital in Moscow where he was kept until October 28, 1959.

Output: He was taken to a hospital in Moscow where he was kept until October twenty eight, nineteen fifty nine.


Input: Consider Input: While in London, for instance, in 1829, twenty four persons had been executed for crimes other than murder,


Output: While in London, for instance, in eighteen twenty nine, twenty four persons had been executed for crimes other than murder,