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: white male, approximately 30, slender build, height 5 foot 10 inches, weight 165 pounds, end quote.

Output: white male, approximately thirty, slender build, height five foot ten inches, weight one hundred sixty five pounds, end quote.


Input: Consider Input: But the first Bible actually dated (which also was printed at Maintz by Peter Schoeffer in the year 1462)

Output: But the first Bible actually dated (which also was printed at Maintz by Peter Schoeffer in the year fourteen sixty two)


Input: Consider Input: slender, weighing about one sixty five pounds, about 5 foot 10 inches tall, and in his early thirties.


Output: slender, weighing about one sixty five pounds, about five foot ten inches tall, and in his early thirties.