Rosetta Problems

Awards of a Programming Contest

https://atcoder.jp/contests/awc0121/tasks/awc0121_b