3009: Maximum Number of Intersections on the Chart

Problem Statement