Is it a Tree? (#494) - Azerbaijan Computing Olympiad