Detailed 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.
Q: and in eighteen sixty two he was obliged to fly the country, hopelessly and irretrievably ruined.
A:
and in 1862 he was obliged to fly the country, hopelessly and irretrievably ruined.