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