Degree of symmetry (#558) - Azerbaijan Computing Olympiad