Rosetta Problems

Applause for the Successful Candidates

https://atcoder.jp/contests/awc0028/tasks/awc0028_a