Parallel Lines

From Codeforces. Parallel line detection via slope. Solve the geometry problem "Parallel Lines".

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

Parallel Lines

**From Codeforces.** Parallel line detection via slope. Solve the geometry problem "Parallel Lines".