Rosetta Problems

Ball Coloring

https://atcoder.jp/contests/arc073/tasks/arc073_c