Rosetta Problems

Traveling Stall

https://atcoder.jp/contests/awc0150/tasks/awc0150_j