#include<iostream>
#include<cstdio>
#include<cstring>
#include<cmath>
using namespace std;
struct node { int x,y; } point[210];
struct wy { int px,py; double dis; } way[40010];
bool vis[210];
int n,wn;
int main()
{
	wn=0;
	scanf("%d%",&n);
	for(int i=1;i<=n;i++) scanf("%d%d",&point[i].x,&point[i].y);
	for(int i=1,dx,dy;i<=n;i++)
	{
		for(int j=i;j<=n;j++)
		{
			dx=abs(point[i].x-point[j].x);
			dy=abs(point[i].y-point[j].y);
			way[++wn].dis=sqrt(dx*dx+dy*dy);
			way[wn].px=i;way[wn].py=j;
			
