Instructions: 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: Yet another act passed in seventeen ninety one, if properly observed, should have insured proper attention to them.
Output:
Yet another act passed in 1791, if properly observed, should have insured proper attention to them.