Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 203 Bytes

File metadata and controls

13 lines (10 loc) · 203 Bytes

Solutions

Python 3

x, y = map(int, (input() for _ in range(2)))
if x > 0:
    print(1 if y > 0 else 4)
else:
    print(2 if y > 0 else 3)