Rosetta Problems

Namori Counting

https://onlinejudge.u-aizu.ac.jp/problems/3369