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