Problem: You are given the set of vectors on the plane, each of them starting at the origin. Your task is to find a pair of vectors with the minimal non-oriented angle between them.

Non-oriented angle is non-negative value, minimal between clockwise and counterclockwise direction angles. Non-oriented angle is always between 0 and π. For example, opposite directions vectors have angle equals to π.

Input

First line of the input contains a single integer n (2 ≤ n ≤ 100 000) — the number of vectors.

The i-th of the following n lines contains two integers xi and yi (|x|, |y| ≤ 10 000, x2 + y2 > 0) — the coordinates of the i-th vector. Vectors are numbered from 1 to n in order of appearing in the input. It is guaranteed that no two vectors in the input share the same direction (but they still can have opposite directions).

Output

Print two integer numbers a and b (a ≠ b) — a pair of indices of vectors with the minimal non-oriented angle. You can print the numbers in any order. If there are many possible answers, print any.

Examples

Input

4
-1 0
0 -1
1 0
1 1


Output

3 4


Input

6
-1 0
0 -1
1 0
1 1
-4 -5
-4 -6


Output

6 5

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
void merge(long double arr[][2], int l, int m, int r) {
  int i, j, k;
  int n1 = m - l + 1;
  int n2 = r - m;
  long double L[n1][2], R[n2][2];
  for (i = 0; i < n1; i++) {
    L[i][0] = arr[l + i][0];
    L[i][1] = arr[l + i][1];
  }
  for (j = 0; j < n2; j++) {
    R[j][0] = arr[m + 1 + j][0];
    R[j][1] = arr[m + 1 + j][1];
  }
  i = 0;
  j = 0;
  k = l;
  while (i < n1 && j < n2) {
    if (L[i][0] <= R[j][0]) {
      arr[k][0] = L[i][0];
      arr[k][1] = L[i][1];
      i++;
    } else {
      arr[k][0] = R[j][0];
      arr[k][1] = R[j][1];
      j++;
    }
    k++;
  }
  while (i < n1) {
    arr[k][0] = L[i][0];
    arr[k][1] = L[i][1];
    i++;
    k++;
  }
  while (j < n2) {
    arr[k][0] = R[j][0];
    arr[k][1] = R[j][1];
    j++;
    k++;
  }
}
void mergeSort(long double arr[][2], int l, int r) {
  if (l < r) {
    int m = l + (r - l) / 2;
    mergeSort(arr, l, m);
    mergeSort(arr, m + 1, r);
    merge(arr, l, m, r);
  }
}
int main() {
  int n;
  cin >> n;
  long double arr[n][2];
  long double x, y;
  for (int i = 0; i < n; i++) {
    cin >> x >> y;
    arr[i][1] = i;
    if (y == 0.0) {
      if (x > 0.0)
        arr[i][0] = 0.0;
      else
        arr[i][0] = 180.0;
    } else if (x == 0.0) {
      if (y > 0.0)
        arr[i][0] = 90.0;
      else
        arr[i][0] = 270.0;
    } else if (x > 0.0 && y > 0.0) {
      arr[i][0] = atan(y / x) * 180 / 3.14159265359;
    } else if (x < 0.0 && y > 0.0) {
      arr[i][0] = 180.0 - (atan(y / (-1 * x)) * 180 / 3.14159265359);
    } else if (x < 0.0 && y < 0.0) {
      arr[i][0] = (atan(y / x) * 180 / 3.14159265359) + 180.0;
    } else {
      arr[i][0] = 360.0 - (atan((-1 * y) / x) * 180 / 3.14159265359);
    }
  }
  mergeSort(arr, 0, n - 1);
  long double mn = arr[1][0] - arr[0][0], val;
  mn = min(mn, 360.0 - mn);
  int v1 = arr[0][1], v2 = arr[1][1];
  for (int i = 2; i < n; i++) {
    val = arr[i][0] - arr[i - 1][0];
    val = min(val, 360.0 - val);
    if (val < mn) {
      mn = val;
      v1 = arr[i - 1][1];
      v2 = arr[i][1];
    }
  }
  val = abs(arr[0][0] - arr[n - 1][0]);
  val = min(val, 360.0 - val);
  if (val < mn) {
    v1 = arr[0][1];
    v2 = arr[n - 1][1];
  }
  printf("%d %d\n", v1 + 1, v2 + 1);
  return 0;
}