#abc130b. [abc130_b]Bounding

[abc130_b]Bounding

Problem Statement

A ball will bounce along a number line, making N+1N + 1 bounces. It will make the first bounce at coordinate D1=0D_1 = 0, and the ii-th bounce (2leqileqN+1)(2 \\leq i \\leq N+1) at coordinate Di=Di1+Li1D_i = D_{i-1} + L_{i-1}.

How many times will the ball make a bounce where the coordinate is at most XX?

Constraints

  • 1leqNleq1001 \\leq N \\leq 100
  • 1leqLileq1001 \\leq L_i \\leq 100
  • 1leqXleq100001 \\leq X \\leq 10000
  • All values in input are integers.

Input

Input is given from Standard Input in the following format:

NN XX L1L_1 L2L_2 ...... LN1L_{N-1} LNL_N

Output

Print the number of times the ball will make a bounce where the coordinate is at most XX.


Sample Input 1

3 6
3 4 5

Sample Output 1

2

The ball will make a bounce at the coordinates 00, 33, 77 and 1212, among which two are less than or equal to 66.


Sample Input 2

4 9
3 3 3 3

Sample Output 2

4

The ball will make a bounce at the coordinates 00, 33, 66, 99 and 1212, among which four are less than or equal to 99.