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