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