Rosetta Problems

二回の交換

https://atcoder.jp/contests/past18-open/tasks/past18_g