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: Oswald told Fritz that after lunch he went outside, talked with Foreman Bill Shelley for five or ten minutes and then left for home.

Output: Oswald told Fritz that after lunch he went outside, talked with Foreman Bill Shelley for 5 or 10 minutes and then left for home.


Input: Consider Input: For the President's return to Love Field following the luncheon, the agents selected the most direct route, which was approximately four miles.

Output: For the President's return to Love Field following the luncheon, the agents selected the most direct route, which was approximately 4 miles.


Input: Consider Input: Soon afterward, at about three p.m., police officers arrived and searched the house.


Output: Soon afterward, at about 3 p.m., police officers arrived and searched the house.