Rosetta Problems

Balancing by Balance

https://atcoder.jp/contests/ahc025/tasks/ahc025_a