khba Loves to Sleep!

From Codeforces. Geometry. Solve the geometry problem "khba Loves to Sleep!".

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

khba Loves to Sleep!

**From Codeforces.** Geometry. Solve the geometry problem "khba Loves to Sleep!".