Rosetta Problems

Shift and Shift

https://atcoder.jp/contests/past202212-open/tasks/past202212_o