Phase 5 / bitwise, prefix sums
Phase 5 / prefix sums, greedy
Phase 5 / prefix sums, modular arithmetic