시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 (추가 시간 없음) 1024 MB90576973585.366%

문제

When one looks at a set of numbers, one usually wonders if there is a relationship among them? This task is more manageable if there are only three numbers.

Given three distinct positive integers, you are to determine how one can be computed using the other two. Print 1 if any of the three numbers is the sum of the other two numbers, print 2 if any of the three numbers is the product of the other two numbers, print 3 otherwise. Assume that exactly one of these three messages will apply.

입력

There is only one input line; it contains three distinct positive integers, each between 2 and 1000 (inclusive).

출력

Print the appropriate message as described above.

예제 입력 1

10 30 20

예제 출력 1

1

예제 입력 2

10 20 200

예제 출력 2

2

예제 입력 3

100 5 700

예제 출력 3

3