Star Map

From Codeforces. Geometry. Solve the geometry problem "Star Map".

Examples
Input: [1,2,3]
Output: 0
Hints

Star Map

**From Codeforces.** Geometry. Solve the geometry problem "Star Map".