<filename>Code/Python2.7/Kattis/27quadrantselection.py
from sys import stdin

x = int(stdin.readline())
y = int(stdin.readline())

if x > 0 and y > 0:
    print 1
if x < 0 and y > 0:
    print 2
if x < 0 and y < 0:
    print 3
if x > 0 and y < 0:
    print 4

<filename>Code/Python2.7/Kattis/27quadrantselection.py
from sys import stdin

x = int(stdin.readline())
y = int(stdin.readline())

if x > 0 and y > 0:
    print 1
if x < 0 and y > 0:
    print 2
if x < 0 and y < 0:
    print 3
if x > 0 and y < 0:
    print 4
