Task: Number Conversion
Input (English): he was also at liberty to engage himself in the country, where he demanded and was paid £10 on each occasion.
Output (English): he was also at liberty to engage himself in the country, where he demanded and was paid ten pounds on each occasion.