You are bored with nothing to do, so you stare at a pattern of spots on the wall in front of you. The pattern has no obvious symmetry. That grates on you more and more, and you start thinking about adding spots until the pattern is balanced. Solve this with a program.

You are given spots whose coordinates are between −20000 and 20000. Find the smallest number of extra spots needed to make the whole pattern symmetric. The symmetry is either about a point or about a line. If it is about a point, the center does not have to be one of the given spots, and its coordinates do not have to be integers. If it is about a line, the line may have any slope. The coordinates of the added spots may fall outside −20000 to 20000.