Task: Number Conversion
Input (English): which having gone through several sessions, at last became law in 1823 to 4
Output (English): which having gone through several sessions, at last became law in eighteen twenty three to four