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: At twelve:thirty four p.m. Sawyer heard a call over the police radio that the shots had come from the Depository Building.

Output: At 12:34 p.m. Sawyer heard a call over the police radio that the shots had come from the Depository Building.


Input: Consider Input: but in the twenty seventh George the second the right of presentation was bought by the Crown for ten thousand, five hundred pounds.

Output: but in the 27th George II the right of presentation was bought by the Crown for £10,500.


Input: Consider Input: (two) took paper and tape from the wrapping bench of the Depository and fashioned a bag large enough to carry the disassembled rifle;


Output: (2) took paper and tape from the wrapping bench of the Depository and fashioned a bag large enough to carry the disassembled rifle;