Rosetta Problems

Encyclopedia Completion

https://atcoder.jp/contests/awc0119/tasks/awc0119_a