Rosetta Problems

Center Rearranging

https://atcoder.jp/contests/acl1/tasks/acl1_f