Rosetta Problems

希少な数(Rare Number)

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