Rosetta Problems

Classroom Assignment

https://atcoder.jp/contests/awc0018/tasks/awc0018_b