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 necessary preliminaries took some time, but the contracts for the new building were completed in 1849, when the works were commenced.

Ex Output:
The necessary preliminaries took some time, but the contracts for the new building were completed in eighteen forty nine, when the works were commenced.


Ex Input:
It was Benavides, using Tippit's car radio, who first reported the killing of Patrolman Tippit at about 1:16 p.m.:

Ex Output:
It was Benavides, using Tippit's car radio, who first reported the killing of Patrolman Tippit at about one:sixteen p.m.:


Ex Input:
for the 3 month period prior to the assassination reflects an extremely critical attitude toward President Kennedy and his administration

Ex Output:

for the three month period prior to the assassination reflects an extremely critical attitude toward President Kennedy and his administration