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:
The whole question assumed sufficient importance to become a part of the Government program when Lord Beaconsfield took office in 1874.

Ex Output:
The whole question assumed sufficient importance to become a part of the Government program when Lord Beaconsfield took office in eighteen seventy four.


Ex Input:
It was read for the first time in March 1866, but did not become law till 1868.

Ex Output:
It was read for the first time in March eighteen sixty six, but did not become law till eighteen sixty eight.


Ex Input:
When Charles White was executed in 1823 for arson, he arranged a handkerchief

Ex Output:

When Charles White was executed in eighteen twenty three for arson, he arranged a handkerchief