#33Easy
Coordinate quadrant
Time: 1 s · Memory: 256 MB
- Conditionals
Statement
A point is given on the plane; it does not lie on the coordinate axes. Find which quadrant it is in. Quadrants are numbered counterclockwise: I — ; II — ; III — ; IV — .
Input format
A single line with two integers and ().
Output format
A single number from to — the quadrant number.
Examples
Input
3 4
Output
1
Input
-2 5
Output
2
Note
There are four cases, each a combination of two conditions — write them as an if / else if chain or nested ifs.
