Rosetta Problems

Switch Seats

https://atcoder.jp/contests/abc399/tasks/abc399_d