Rosetta Problems

ミックススパイス1

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