Rosetta Problems

ばらばら饅頭

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