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: In December eighteen fifty one the balance sheet showed a deficiency of upwards of seventy thousand pounds.

Output: In December 1851 the balance sheet showed a deficiency of upwards of £70,000.


Input: Consider Input: Guinyard and Callaway ran to tenth and Patton and found Tippit lying in the street beside his car.

Output: Guinyard and Callaway ran to 10th and Patton and found Tippit lying in the street beside his car.


Input: Consider Input: Her description and that of other eyewitnesses led to the police broadcast at one:twenty two p.m.


Output: Her description and that of other eyewitnesses led to the police broadcast at 1:22 p.m.