Task: Number Conversion
Input (English): then Home Secretary, and the prison, which contained five hundred and twenty cells, was occupied on the twenty first December, eighteen forty two.
Output (English): then Home Secretary, and the prison, which contained five hundred and twenty cells, was occupied on the 21st December, 1842.