Rosetta Problems

ロミオとジュリエット

https://atcoder.jp/contests/arc022/tasks/arc022_3