Rosetta Problems

Reading Marathon

https://atcoder.jp/contests/awc0147/tasks/awc0147_e