Rosetta Problems

Balance Check

https://atcoder.jp/contests/awc0140/tasks/awc0140_e