Quadrant of a point

From GeeksforGeeks. Quadrant identification from coordinates. Solve the geometry problem "Quadrant of a point".

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

Quadrant of a point

**From GeeksforGeeks.** Quadrant identification from coordinates. Solve the geometry problem "Quadrant of a point".