Distance in the Tree

URAL - 1471