N=int(input())
X=[0]*N
Y=[0]*N
LIST=[[0,0] for i in range(N*N)]
for i in range(N):
    X[i],Y[i]=map(int,input().split())

for i in range(N):
    for j in range(N):
        if(i==j):continue
        LIST[i*N+j][0]=X[i]-X[j]
        LIST[i*N+j][1]=Y[i]-Y[j]

LIST=sorted(LIST,key=lambda x: (x[0],x[1]))

t=[0,0]
m=0
c=0
for i in range(len(LIST)):
    if(LIST[i]==[0,0]):continue
    elif(LIST[i]!=t):
        c=1
        t=LIST[i]
    else:c+=1
    m=max(c,m)

print(N-m) N=int(input()) N int(input()) int input() input X=[0]*N X [0]*N [0] 0 N Y=[0]*N Y [0]*N [0] 0 N [0,0] for i in range(N*N) for i in range(N*N) i range(N*N) range N*N N N for i in range(N*N) [0,0] 0 0 LIST=[[0,0] for i in range(N*N)] LIST [[0,0] for i in range(N*N)] for i in range(N):
    X[i],Y[i]=map(int,input().split()) i range(N) range N X[i],Y[i]=map(int,input().split()) X[i] X i map(int,input().split()) map int input().split() ().split () input split Y[i] Y i for i in range(N):
    for j in range(N):
        if(i==j):continue
        LIST[i*N+j][0]=X[i]-X[j]
        LIST[i*N+j][1]=Y[i]-Y[j] i range(N) range N for j in range(N):
        if(i==j):continue
        LIST[i*N+j][0]=X[i]-X[j]
        LIST[i*N+j][1]=Y[i]-Y[j] j range(N) range N if(i==j):continue
         i==j i j LIST[i*N+j][0]=X[i]-X[j] LIST[i*N+j][0] [i*N+j] LIST i*N+j i*N i N j 0 X[i]-X[j] X[i] X i X[j] X j LIST[i*N+j][1]=Y[i]-Y[j] LIST[i*N+j][1] [i*N+j] LIST i*N+j i*N i N j 1 Y[i]-Y[j] Y[i] Y i Y[j] Y j LIST=sorted(LIST,key=lambda x: (x[0],x[1])) LIST sorted(LIST,key=lambda x: (x[0],x[1])) sorted LIST key=lambda x: (x[0],x[1]) key lambda x: (x[0],x[1]) (x[0],x[1]) x[0] x 0 x[1] x 1 x t=[0,0] t [0,0] 0 0 m=0 m 0 c=0 c 0 for i in range(len(LIST)):
    if(LIST[i]==[0,0]):continue
    elif(LIST[i]!=t):
        c=1
        t=LIST[i]
    else:c+=1
    m=max(c,m) i range(len(LIST)) range len(LIST) len LIST if(LIST[i]==[0,0]):continue
    elif(LIST[i]!=t):
        c=1
        t=LIST[i]
    else:c+=1
     LIST[i]==[0,0] LIST[i] LIST i [0,0] 0 0 elif(LIST[i]!=t):
        c=1
        t=LIST[i]
     LIST[i]!=t LIST[i] LIST i t c=1 c 1 t=LIST[i] t LIST[i] LIST i m=max(c,m) m max(c,m) max c m print(N-m) print N-m N m m=0 0 m c=1 1 c LIST=sorted(LIST,key=lambda x: (x[0],x[1])) sorted(LIST,key=lambda x: (x[0],x[1])) LIST X=[0]*N [0]*N X t=[0,0] [0,0] t c=0 0 c LIST=[[0,0] for i in range(N*N)] [[0,0] for i in range(N*N)] LIST Y=[0]*N [0]*N Y m=max(c,m) max(c,m) m N=int(input()) int(input()) N t=LIST[i] LIST[i] t
N=int(input())
X=[0]*N
Y=[0]*N
LIST=[[0,0] for i in range(N*N)]
for i in range(N):
    X[i],Y[i]=map(int,input().split())

for i in range(N):
    for j in range(N):
        if(i==j):continue
        LIST[i*N+j][0]=X[i]-X[j]
        LIST[i*N+j][1]=Y[i]-Y[j]

LIST=sorted(LIST,key=lambda x: (x[0],x[1]))

t=[0,0]
m=0
c=0
for i in range(len(LIST)):
    if(LIST[i]==[0,0]):continue
    elif(LIST[i]!=t):
        c=1
        t=LIST[i]
    else:c+=1
    m=max(c,m)

print(N-m)