시간 제한메모리 제한제출정답맞힌 사람정답 비율
2 초 64 MB36121139.286%

문제

Demy has $n$ jewels. Each of her jewels has some value $v_i$ and weight $w_i$. 

Since her husband John got broke after recent financial crises, Demy has decided to sell some jewels. She has decided that she would keep $k$ best jewels for herself.

She decided to keep such jewels that their specific value is as large as possible. That is, denote the specific value of some set of jewels $S = \{i_1, i_2, \ldots, i_k\}$ as 

$$s(S) = \frac{\sum\limits_{j = 1}^k{v_{i_j}}}{\sum\limits_{j = 1}^k{w_{i_j}}}.$$

Demy would like to select such $k$ jewels that their specific value is maximal possible. Help her to do so.

입력

The first line of the input file contains $n$ --- the number of jewels Demy got, and $k$ --- the number of jewels she would like to keep ($1 \le k \le n \le 100\,000$). 

The following $n$ lines contain two integer numbers each --- $v_i$ and $w_i$ ($0 \le v_i \le 10^6$, $1 \le w_i \le 10^6$, both the sum of all $v_i$ and the sum of all $w_i$ do not exceed $10^7$). 

출력

Output $k$ numbers --- the numbers of jewels Demy must keep. If there are several solutions, output any one.

예제 입력 1

3 2
1 1
1 2
1 3

예제 출력 1

1 2