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