Rosetta Problems

河川敷の変態仮面

https://atcoder.jp/contests/iroha2019-day2/tasks/iroha2019_day2_b