Hosen and The Magical Tree!

Problem Name:
Hosen and The Magical Tree!
Site:CodeForces
Links:
Tags: