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