Problem hidden
This problem was hidden by Editorial Board member probably because it has incorrect language version or invalid test data, or description of the problem is not clear.

EISHORT - Shortest subarray

Given an array of positive integers A where each element has value at most 106. Find the shortest subarray of A such that the sum of elements is not less than k.

Input

The first line contains the number of elements n and the integer k (0 < n ≤ 105, 0 < k ≤ 109).

The second line is the elements in array A

Output

The length of the shortest subarray

Sample

Input

Output

5 6

1 2 4 1 6

1


Added by:Ha Minh Ngoc
Date:2019-05-06
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:CSHARP C++ 4.3.2 CPP CPP14 CPP14-CLANG FSHARP GO JAVA JS-MONKEY NODEJS PHP PYTHON PYPY PYPY3 PYTHON3 RUBY SQLITE SWIFT VB.NET
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.