Rosetta Problems

宝くじ

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