Get a tree (#495) - Azerbaijan Computing Olympiad