Rosetta Problems

Cut and Reorder

https://atcoder.jp/contests/abc328/tasks/abc328_g