Solution
5 5 2 2 1
5 5 2 2 1
4 4 4 1 1
4 3 3 3 3