Input (grade 4): The British took 22 vessels of the Franco-Spanish fleet and lost none.
Output (grade 2): The French and Spanish had lost 22 ships, the British lost none.