Rosetta Problems

Peak Collection

https://atcoder.jp/contests/awc0018/tasks/awc0018_e