#D9736. The Smallest Window I

    ID: 8095 Type: Default 1000ms 134MiB

The Smallest Window I

The Smallest Window I

For a given array a1,a2,a3,...,aNa_1, a_2, a_3, ... , a_N of NN elements and an integer SS, find the smallest sub-array size (smallest window length) where the sum of the sub-array is greater than or equal to SS. If there is not such sub-array, report 0.

Constraints

  • 1N1051 \leq N \leq 10^5
  • 1S1091 \leq S \leq 10^9
  • 1ai1041 \leq a_i \leq 10^4

Input

The input is given in the following format.

NN SS a1a_1 a2a_2 ... aNa_N

Output

Print the smallest sub-array size in a line.

Examples

Input

6 4 1 2 1 2 3 2

Output

2

Input

6 6 1 2 1 2 3 2

Output

3

Input

3 7 1 2 3

Output

0

inputFormat

Input

The input is given in the following format.

NN SS a1a_1 a2a_2 ... aNa_N

outputFormat

Output

Print the smallest sub-array size in a line.

Examples

Input

6 4 1 2 1 2 3 2

Output

2

Input

6 6 1 2 1 2 3 2

Output

3

Input

3 7 1 2 3

Output

0

样例

6 4
1 2 1 2 3 2
2