#include <bits/stdc++.h>

using namespace std;

typedef pair<long double, int> p;

bool compare(p a, p b){
	return a.first < b.first;
}

int main(){
	vector<p> testing;
	int n;
	cin>>n;
	for(int i=1; i<=n; i++){
		long double x,y;
		cin>>x>>y;
		testing.push_back(make_pair(atan2(y,x),i));
	}

	sort(testing.begin(), testing.end(), compare);
	// for(int i=0; i<testing.size(); i++){
	// 	cout<<testing[i].first<<" "<<testing[i].second<<endl;
	// }


	long double minDif = 10;
	pair<int,int> ans;

	for(int i=1; i<testing.size(); i++){
		long double tempDif = abs(testing[i].first - testing[i-1].first);
		if(tempDif < minDif){
			minDif = tempDif;
			ans = make_pair(testing[i].second, testing[i-1].second);
		}
	}

	cout<<ans.first<<" "<<ans.second<<endl;

	return 0;
} 