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: or class (one), with whom, under the imperious demand for accommodation, were also associated the misdemeanants, or class (two).
Output:
or class (1), with whom, under the imperious demand for accommodation, were also associated the misdemeanants, or class (2).