Task: Number Conversion
Input (English): The necessary preliminaries took some time, but the contracts for the new building were completed in 1849, when the works were commenced.
Output (English): The necessary preliminaries took some time, but the contracts for the new building were completed in eighteen forty nine, when the works were commenced.