2004C | Splitting Items | Educational Codeforces Round 169 (Div. 2) | Greedy | Codeatic