Maximize Y-Sum by Picking a Triplet of Distinct X-Values
Keep the largest y for each x value, then add the three largest of those so that all three x values differ.
Keep the largest y for each x value, then add the three largest of those so that all three x values differ.