<reponame>mrparkonline/py_conditionals<filename>solutions/ccc/quadrants.py<gh_stars>0
# Quadrants

# input
x = int(input())
y = int(input())

# processing & output
if x > 0 and y > 0:
    print(1)
elif x < 0 and y > 0:
    print(2)
elif x < 0 and y < 0:
    print(3)
else:
    print(4)

# nested solution
if x > 0:
    if y > 0:
        print(1)
    else:
        print(4)
else:
    if y > 0:
        print(2)
    else:
        print(3)

# Quadrants

# input
x = int(input())
y = int(input())

# processing & output
if x > 0 and y > 0:
    print(1)
elif x < 0 and y > 0:
    print(2)
elif x < 0 and y < 0:
    print(3)
else:
    print(4)

# nested solution
if x > 0:
    if y > 0:
        print(1)
    else:
        print(4)
else:
    if y > 0:
        print(2)
    else:
        print(3)
# Quadrants # input # processing & output # nested solution