Given a point $ P(x, y) $, determine which quadrant $ P $ lies in.
Input
The only line of input contains two integers $ x $ and $ y $. ($ -100 \le x, y \le 100 $)
Output
If $ P $ lies in a quadrant, output Quadrant N
,
where N
is either I
, II
, III
or IV
, representing the quadrant $ P $ lies in.
If $ P $ does not lie in a quadrant, output None
.
Sample Test Cases
Input | Output | |
---|---|---|
3 -3 | Quadrant IV | |
0 0 | None |
Scoring: Per Case
Authored by s16f22
Appeared in Test Contest