N = int(input())

P = []

for i in range(N):
    x,y = map(int,input().split())
    P.append((x,y))

mp = {}

for i in range(N):
    for j in range(i+1,N):
        mp[(P[i][0]-P[j][0],P[i][1]-P[j][1])] = 0
        mp[(P[j][0]-P[i][0],P[j][1]-P[i][1])] = 0

for i in range(N):
    for j in range(i+1,N):
        mp[(P[i][0]-P[j][0],P[i][1]-P[j][1])] += 1
        mp[(P[j][0]-P[i][0],P[j][1]-P[i][1])] += 1

ans = N
for i in mp:
    ans = min(ans,N-mp[i])

print(ans) N = int(input()) N int(input()) int input() input P = [] P [] for i in range(N):
    x,y = map(int,input().split())
    P.append((x,y)) i range(N) range N x,y = map(int,input().split()) x map(int,input().split()) map int input().split() ().split () input split y P.append((x,y)) P.append P append (x,y) x y mp = {} mp {} for i in range(N):
    for j in range(i+1,N):
        mp[(P[i][0]-P[j][0],P[i][1]-P[j][1])] = 0
        mp[(P[j][0]-P[i][0],P[j][1]-P[i][1])] = 0 i range(N) range N for j in range(i+1,N):
        mp[(P[i][0]-P[j][0],P[i][1]-P[j][1])] = 0
        mp[(P[j][0]-P[i][0],P[j][1]-P[i][1])] = 0 j range(i+1,N) range i+1 i 1 N mp[(P[i][0]-P[j][0],P[i][1]-P[j][1])] = 0 mp[(P[i][0]-P[j][0],P[i][1]-P[j][1])] mp (P[i][0]-P[j][0],P[i][1]-P[j][1]) P[i][0]-P[j][0] P[i][0] [i] P i 0 P[j][0] [j] P j 0 P[i][1]-P[j][1] P[i][1] [i] P i 1 P[j][1] [j] P j 1 0 mp[(P[j][0]-P[i][0],P[j][1]-P[i][1])] = 0 mp[(P[j][0]-P[i][0],P[j][1]-P[i][1])] mp (P[j][0]-P[i][0],P[j][1]-P[i][1]) P[j][0]-P[i][0] P[j][0] [j] P j 0 P[i][0] [i] P i 0 P[j][1]-P[i][1] P[j][1] [j] P j 1 P[i][1] [i] P i 1 0 for i in range(N):
    for j in range(i+1,N):
        mp[(P[i][0]-P[j][0],P[i][1]-P[j][1])] += 1
        mp[(P[j][0]-P[i][0],P[j][1]-P[i][1])] += 1 i range(N) range N for j in range(i+1,N):
        mp[(P[i][0]-P[j][0],P[i][1]-P[j][1])] += 1
        mp[(P[j][0]-P[i][0],P[j][1]-P[i][1])] += 1 j range(i+1,N) range i+1 i 1 N mp[(P[i][0]-P[j][0],P[i][1]-P[j][1])] += 1 mp[(P[i][0]-P[j][0],P[i][1]-P[j][1])] mp (P[i][0]-P[j][0],P[i][1]-P[j][1]) P[i][0]-P[j][0] P[i][0] [i] P i 0 P[j][0] [j] P j 0 P[i][1]-P[j][1] P[i][1] [i] P i 1 P[j][1] [j] P j 1 1 mp[(P[j][0]-P[i][0],P[j][1]-P[i][1])] += 1 mp[(P[j][0]-P[i][0],P[j][1]-P[i][1])] mp (P[j][0]-P[i][0],P[j][1]-P[i][1]) P[j][0]-P[i][0] P[j][0] [j] P j 0 P[i][0] [i] P i 0 P[j][1]-P[i][1] P[j][1] [j] P j 1 P[i][1] [i] P i 1 1 ans = N ans N for i in mp:
    ans = min(ans,N-mp[i]) i mp ans = min(ans,N-mp[i]) ans min(ans,N-mp[i]) min ans N-mp[i] N mp[i] mp i print(ans) print ans x,y = map(int,input().split()) map(int,input().split()) x ans = N N ans mp = {} {} mp ans = min(ans,N-mp[i]) min(ans,N-mp[i]) ans N = int(input()) int(input()) N P = [] [] P y = map(int,input().split()) map(int,input().split()) y
N = int(input())

P = []

for i in range(N):
    x,y = map(int,input().split())
    P.append((x,y))

mp = {}

for i in range(N):
    for j in range(i+1,N):
        mp[(P[i][0]-P[j][0],P[i][1]-P[j][1])] = 0
        mp[(P[j][0]-P[i][0],P[j][1]-P[i][1])] = 0

for i in range(N):
    for j in range(i+1,N):
        mp[(P[i][0]-P[j][0],P[i][1]-P[j][1])] += 1
        mp[(P[j][0]-P[i][0],P[j][1]-P[i][1])] += 1

ans = N
for i in mp:
    ans = min(ans,N-mp[i])

print(ans)