Rosetta Problems

わたのはら

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