Where Do I Turn?

From Codeforces. Turn direction from three points. Solve the geometry problem "Where Do I Turn?".

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

Where Do I Turn?

**From Codeforces.** Turn direction from three points. Solve the geometry problem "Where Do I Turn?".