As you know, lemmings like jumping. For the next spectacular group jump n lemmings gathered near a high rock with k comfortable ledges on it. The first ledge is situated at the height of h meters, the second one is at the height of 2h meters, and so on (the i-th ledge is at the height of i·h meters). The lemmings are going to jump at sunset, and there's not much time left.

Each lemming is characterized by its climbing speed of vi meters per minute and its weight mi. This means that the i-th lemming can climb to the j-th ledge in <image> minutes.

To make the jump beautiful, heavier lemmings should jump from higher ledges: if a lemming of weight mi jumps from ledge i, and a lemming of weight mj jumps from ledge j (for i < j), then the inequation mi ≤ mj should be fulfilled.

Since there are n lemmings and only k ledges (k ≤ n), the k lemmings that will take part in the jump need to be chosen. The chosen lemmings should be distributed on the ledges from 1 to k, one lemming per ledge. The lemmings are to be arranged in the order of non-decreasing weight with the increasing height of the ledge. In addition, each lemming should have enough time to get to his ledge, that is, the time of his climb should not exceed t minutes. The lemmings climb to their ledges all at the same time and they do not interfere with each other.

Find the way to arrange the lemmings' jump so that time t is minimized.

Input

The first line contains space-separated integers n, k and h (1 ≤ k ≤ n ≤ 105, 1 ≤ h ≤ 104) — the total number of lemmings, the number of ledges and the distance between adjacent ledges.

The second line contains n space-separated integers m1, m2, ..., mn (1 ≤ mi ≤ 109), where mi is the weight of i-th lemming.

The third line contains n space-separated integers v1, v2, ..., vn (1 ≤ vi ≤ 109), where vi is the speed of i-th lemming.

Output

Print k different numbers from 1 to n — the numbers of the lemmings who go to ledges at heights h, 2h, ..., kh, correspondingly, if the jump is organized in an optimal way. If there are multiple ways to select the lemmings, pick any of them.

Examples

Input

5 3 2
1 2 3 2 1
1 2 1 2 10


Output

5 2 4


Input

5 3 10
3 4 3 2 1
5 4 3 2 1


Output

4 3 1

Note

Let's consider the first sample case. The fifth lemming (speed 10) gets to the ledge at height 2 in <image> minutes; the second lemming (speed 2) gets to the ledge at height 4 in 2 minutes; the fourth lemming (speed 2) gets to the ledge at height 6 in 3 minutes. All lemmings manage to occupy their positions in 3 minutes. 
#include <bits/stdc++.h>
using namespace std;
const int maxN = 100000 + 10, maxM = 10000 + 10;
long long N, K, H;
int m[maxN], num[maxN], ans[maxN];
long long v[maxN];
bool cmp(int a, int b) {
  return (m[a] > m[b] || (m[a] == m[b] && v[a] > v[b]));
}
bool check(double T) {
  long long now = 0;
  for (int k = K - 1; k >= 0; --k) {
    ans[k] = -1;
    while (now < N) {
      int j = num[now];
      if ((double)v[j] * T >= (double)(k + 1) * H) {
        ans[k] = j;
        break;
      }
      ++now;
    }
    if (ans[k] == -1) return false;
    ++now;
  }
  return true;
}
int main() {
  scanf("%I64d %I64d %I64d", &N, &K, &H);
  for (int i = 0; i < N; ++i) scanf("%d", &m[i]);
  for (int i = 0; i < N; ++i) scanf("%d", &v[i]);
  for (int i = 0; i < N; ++i) num[i] = i;
  sort(num, num + N, cmp);
  double l = 0, r = 1000000007;
  for (int i = 0; i < 2000; ++i) {
    double mid = (l + r) * 0.5;
    if (check(mid))
      r = mid;
    else
      l = mid;
  }
  check(r);
  for (int i = 0; i < K; ++i) {
    printf("%d", ans[i] + 1);
    (i == K - 1) ? printf("\n") : printf(" ");
  }
  return 0;
}
