khba Loves to Sleep!

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

Examples
Input: [2,10,0,3,7,10]
Output: 2
Hints

khba Loves to Sleep!

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