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: Thus wrote Cuvier in eighteen twenty eight.

Output: Thus wrote Cuvier in 1828.


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: that the bag which Oswald was carrying was approximately twenty seven or twenty eight inches long, whereas the wooden stock of the rifle, which is its largest component,


Output: that the bag which Oswald was carrying was approximately 27 or 28 inches long, whereas the wooden stock of the rifle, which is its largest component,