Editorial
Need a hint? Checkout the editorial.
View Editorial
Editorial
How many intersections are there? "The Stars" might be helpful to find that out. And once you know the number, you know what to do next.
Once Ahsan went crazy while working on a $3 \times 3$ grid of dots. First, he drew all the line segments needed to connect each dot. Just like the diagram shown above. Then, as many angles he saw in this diagram, he started to add their values one by one. Can you find what result he will get?
How many intersections are there? "The Stars" might be helpful to find that out. And once you know the number, you know what to do next.