Rosetta Problems

素敵な素数

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