0 #ABC300A. [ABC300A] N-choice question

[ABC300A] N-choice question

Score : 100100 points

Problem Statement

Given integers AA and BB, find A+BA+B. This is a NN-choice problem; the ii-th choice is CiC_i. Print the index of the correct choice.

Constraints

  • All values in the input are integers.
  • 1N3001 \le N \le 300
  • 1A,B10001 \le A,B \le 1000
  • 1Ci20001 \le C_i \le 2000
  • CiC_i are pairwise distinct. In other words, no two choices have the same value.
  • There is exactly one ii such that A+B=CiA+B=C_i. In other words, there is always a unique correct choice.

Input

The input is given from Standard Input in the following format:

NN AA BB

C1C_1 C2C_2 \dots CNC_N

Output

Print the answer as an integer.

3 125 175
200 300 400
2

We have 125+175=300125+175 = 300. The first, second, and third choices are 200200, 300300, and 400400, respectively. Thus, the 22-nd choice is correct, so 22 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