Rosetta Problems

Invisible Hand

https://atcoder.jp/contests/abc312/tasks/abc312_c