Rosetta Problems

Between B and B

https://atcoder.jp/contests/arc179/tasks/arc179_b