Rosetta Problems

ピアノコンクール (Piano Competition)

https://atcoder.jp/contests/joig2022-open/tasks/joig2022_a