A Magical Walks in a Magic Forest

Limite di tempo: 5 sec
/
Limite di memoria: 256 MB
Input/output: stdin / stdout
Punteggio massimo: 612