#include <bits/stdc++.h>
using namespace std;
int main() {
  int i, n, imi;
  long double x, y, mi;
  vector<complex<long double> > v;
  vector<pair<long double, int> > vv;
  complex<long double> aux;
  cin >> n;
  for (i = 0; i < n; i++) {
    cin >> x >> y;
    aux = complex<long double>(x, y);
    v.push_back(aux);
    vv.push_back(make_pair(arg(aux), i));
  }
  sort(vv.begin(), vv.end());
  mi = 4.0 * acos(0.0);
  imi = -1;
  for (i = 0; i < n; i++) {
    aux = v[vv[i].second] / v[vv[(i + 1) % n].second];
    if (mi > fabs(arg(aux))) {
      mi = fabs(arg(aux));
      imi = i;
    }
  }
  cout << (vv[imi].second + 1) << " " << (vv[(imi + 1) % n].second + 1) << endl;
}
