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