import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int A = sc.nextInt();
int B = sc.nextInt();
if(A >=0 && B >=0) System.out.println(1);
else if(A >=0 && B <=0) System.out.println(4);
else if(A <=0 && B >=0) System.out.println(2);
else System.out.println(3);
}
}
'일상' 카테고리의 다른 글
2739 : 구구단 (0) | 2021.07.26 |
---|---|
2884 : 알람 시계 (0) | 2021.07.23 |
2753 : 윤년 (0) | 2021.07.23 |
9498 : 시험 성적 (0) | 2021.07.23 |
1330 : 두 수 비교하기 (0) | 2021.07.23 |