Rosetta Problems

Shift and Swapping(★3)

https://atcoder.jp/contests/typical90/tasks/typical90_ar