Graderpractice for programmers

Back to 254271 Fun (2562 Sec 1&2) - Mini Test 1

A. Four quadrants of a 2D space

Problem

Read in two integers that represent a vector (x, y) in a 2D space. Print out the quadrant number where the point is.

The 4 quadrants of a 2D space are:

Point P is in Quadrant II.

The input vector will always have exactly 1 quadrant. Ignore the case of points that are along the axis (e.g. 0,y and x,0 are not valid inputs).

Examples

Input

-4
3

Output

Quadrant II

Input

1
2

Output

Quadrant I

Input

5
-5

Output

Quadrant IV

Submit your solution

java