Lucky Numbers

Limite di tempo: 5 sec
/
Limite di memoria: 512 MB
Input/output: stdin / stdout
Punteggio massimo: 583