ZOAC

From Baekjoon. Grid / Matrix / 2D. Solve the geometry problem "ZOAC".

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

ZOAC

**From Baekjoon.** Grid / Matrix / 2D. Solve the geometry problem "ZOAC".