Rosetta Problems

N回スワップ

https://atcoder.jp/contests/chokudai_S001/tasks/chokudai_S001_l