Condensation of the graph (#511) - Azerbaijan Computing Olympiad