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