Rosetta Problems

Sequence Matching

https://atcoder.jp/contests/abc185/tasks/abc185_e