Rosetta Problems

回転と書換

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/176