Rosetta Problems

けん玉 (Kendama)

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