0 atcoder#ABC300A. [ABC300A] N-choice question
[ABC300A] N-choice question
Score : points
Problem Statement
Given integers and , find . This is a -choice problem; the -th choice is . Print the index of the correct choice.
Constraints
- All values in the input are integers.
- are pairwise distinct. In other words, no two choices have the same value.
- There is exactly one such that . In other words, there is always a unique correct choice.
Input
The input is given from Standard Input in the following format:
Output
Print the answer as an integer.
3 125 175
200 300 400
2
We have . The first, second, and third choices are , , and , respectively. Thus, the -nd choice is correct, so should be printed.
1 1 1
2
1
The problem may be a one-choice problem.
5 123 456
135 246 357 468 579
5