Rosetta Problems

Entangled with Lottery

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