332_B. Maximum Absurdity
Reforms continue entering Berland. For example, during yesterday sitting the Berland Parliament approved as much as n laws (each law has been assigned a unique number from 1 to n). Today all these laws were put on the table of the President of Berland, G.W. Boosch, to be signed.

This time mr. Boosch plans to sign 2k laws. He decided to choose exactly two non-intersecting segments of integers from 1 to n of length k and sign all laws, whose numbers fall into these segments. More formally, mr. Boosch is going to choose two integers a, b (1 ≤ a ≤ b ≤ n - k + 1, b - a ≥ k) and sign all laws with numbers lying in the segments [a; a + k - 1] and [b; b + k - 1] (borders are included).

As mr. Boosch chooses the laws to sign, he of course considers the public opinion. Allberland Public Opinion Study Centre (APOSC) conducted opinion polls among the citizens, processed the results into a report and gave it to the president. The report contains the absurdity value for each law, in the public opinion. As mr. Boosch is a real patriot, he is keen on signing the laws with the maximum total absurdity. Help him.

Input

The first line contains two integers n and k (2 ≤ n ≤ 2·105, 0 < 2k ≤ n) — the number of laws accepted by the parliament and the length of one segment in the law list, correspondingly. The next line contains n integers x1, x2, ..., xn — the absurdity of each law (1 ≤ xi ≤ 109).

Output

Print two integers a, b — the beginning of segments that mr. Boosch should choose. That means that the president signs laws with numbers from segments [a; a + k - 1] and [b; b + k - 1]. If there are multiple solutions, print the one with the minimum number a. If there still are multiple solutions, print the one with the minimum b.

Examples

Input

5 2
3 6 1 1 6


Output

1 4


Input

6 2
1 1 1 1 1 1


Output

1 3

Note

In the first sample mr. Boosch signs laws with numbers from segments [1;2] and [4;5]. The total absurdity of the signed laws equals 3 + 6 + 1 + 6 = 16.

In the second sample mr. Boosch signs laws with numbers from segments [1;2] and [3;4]. The total absurdity of the signed laws equals 1 + 1 + 1 + 1 = 4.
```python
def main():
    wynik = 0
    para = (0,0)
    n,k = input().split()
    n,k = int(n), int(k)
    odl = []
    tab = list(map(int, input().split()))
    pocz = tab[0]
    odl = [pocz]
    for i in range(1,n):
        if i < k  :
            odl.append(odl[i-1]+tab[i])
        else:
            odl.append(odl[i-1]+tab[i] - tab[i-k])
    odl = odl[k-1:]
    maks = odl[-1]
    maksy = []
    b = n-k+1
    for i in range(len(odl)-1,-1,-1):
        if odl[i] >= maks:
            maks = odl[i]
            b = i+1
        maksy.append((maks,b))
    maksy.reverse()
    for i in range(0,len(odl)-k):
        if odl[i] + maksy[i+k][0] > wynik:
            wynik = odl[i] + maksy[i+k][0]
            para = (i+1,maksy[i+k][1])
    return f'{para[0]} {para[1]}'


print(main())

```