Rosetta Problems

Split and Insert

https://atcoder.jp/contests/agc062/tasks/agc062_b