Rosetta Problems

準急電車 (Semiexpress)

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/639