Rosetta Problems

Audition for Admission

https://atcoder.jp/contests/awc0144/tasks/awc0144_b