Rosetta Problems

お嬢様のCounting Words

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