Rosetta Problems

Shift and Reverse

https://atcoder.jp/contests/arc132/tasks/arc132_b