Rosetta Problems

Inter-School Marathon Competition

https://atcoder.jp/contests/awc0134/tasks/awc0134_a