Rosetta Problems

I hate 1

https://atcoder.jp/contests/arc198/tasks/arc198_a