Rosetta Problems

Move and Teleport

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