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 Secret Service was organized as a division of the Department of the Treasury in eighteen sixty five, to deal with counterfeiting.

Output: The Secret Service was organized as a division of the Department of the Treasury in 1865, to deal with counterfeiting.


Input: Consider Input: Brennan's description should also be compared with the eyewitness description broadcast over the Dallas police radio at one:twenty two p.m.

Output: Brennan's description should also be compared with the eyewitness description broadcast over the Dallas police radio at 1:22 p.m.


Input: Consider Input: Approximately seven or eight minutes later


Output: Approximately 7 or 8 minutes later