The task is to read a passage and convert numbers in their text forms into digit forms. The text numbers can be used to represent Quantity, Dates and Time, Addresses or Positions.

Input: Consider Input: The Chronicles of Newgate, Volume two. By Arthur Griffiths. Section fourteen: Newgate notorieties, part one

Output: The Chronicles of Newgate, Volume 2. By Arthur Griffiths. Section 14: Newgate notorieties, part 1


Input: Consider Input: and the aggregate amount of debts sued for was eighty one thousand, seven hundred ninety one pounds.

Output: and the aggregate amount of debts sued for was £81,791.


Input: Consider Input: a table showing the figures for the year ending Michaelmas eighteen oh two.


Output: a table showing the figures for the year ending Michaelmas 1802.