Task: Number Conversion
Input (English): was after 1807, through the exertions of the keeper of the jail, spent in the purchase of necessaries.
Output (English): was after eighteen oh seven, through the exertions of the keeper of the jail, spent in the purchase of necessaries.