Task: Number Conversion
Input (English): and in eighteen sixty two he was obliged to fly the country, hopelessly and irretrievably ruined.
Output (English): and in 1862 he was obliged to fly the country, hopelessly and irretrievably ruined.