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