Rosetta Problems

Souvenir Selection

https://atcoder.jp/contests/awc0038/tasks/awc0038_b