x=int(input())
y=int(input())
if x>0:
    if y>0:
        print(1)
    else:
        print(4)
else:
    if y>0:
        print(2)
    else:
        print(3)

 

 

 

 

문제 : https://www.acmicpc.net/problem/14681

'Baekjoon > python' 카테고리의 다른 글

[백준 2525번] 오븐 시계  (0) 2022.04.15
[백준 2884번] 알람 시계  (0) 2022.04.14
[백준 2753번] 윤년  (0) 2022.04.13
[백준 9498번] 시험성적  (0) 2022.04.07
[백준 1330번] 두 수 비교하기  (0) 2022.04.07

+ Recent posts