Battleships #10
The grid shows a fleet consisting of ships of different types: submarines (1 cell), destroyers (2 cells), cruisers (3 cells), battleships (4 cells), aircraft carriers (5 cells), etc.
Each part of a ship occupies exactly one cell of the grid. Ships are orientated either horizontally or vertically in the grid and do not touch each other, neither orthogonally nor diagonally.
A number at the edge of the grid indicates how many ship segments are in the relevant row or column of the grid.
The number of ships of each type is indicated for each task.