N=int(input())
xy=[list(map(int,input().split()))for _ in range(N)]

count=[]
for x1,y1 in xy:
    for x2,y2 in xy:
        if x1==x2 and y1==y2:
            continue
        c=str(x1-x2)+':'+str(y1-y2)
        count.append(c)

from collections import*
C=Counter(count)
C['zentsu999']=0
print(N-max(C.values())) N=int(input()) N int(input()) int input() input list(map(int,input().split()))for _ in range(N) for _ in range(N) _ range(N) range N for _ in range(N) list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split xy=[list(map(int,input().split()))for _ in range(N)] xy [list(map(int,input().split()))for _ in range(N)] count=[] count [] for x1,y1 in xy:
    for x2,y2 in xy:
        if x1==x2 and y1==y2:
            continue
        c=str(x1-x2)+':'+str(y1-y2)
        count.append(c) x1 y1 xy for x2,y2 in xy:
        if x1==x2 and y1==y2:
            continue
        c=str(x1-x2)+':'+str(y1-y2)
        count.append(c) x2 y2 xy if x1==x2 and y1==y2:
            continue
         x1==x2 and y1==y2 x1==x2 x1 x2 y1==y2 y1 y2 continue c=str(x1-x2)+':'+str(y1-y2) c str(x1-x2)+':'+str(y1-y2) str(x1-x2)+':' str(x1-x2) str x1-x2 x1 x2 ':' str(y1-y2) str y1-y2 y1 y2 count.append(c) count.append count append c from collections import* C=Counter(count) C Counter(count) Counter count C['zentsu999']=0 C['zentsu999'] C 'zentsu999' 0 print(N-max(C.values())) print N-max(C.values()) N max(C.values()) max C.values() C.values C values count=[] [] count C=Counter(count) Counter(count) C N=int(input()) int(input()) N c=str(x1-x2)+':'+str(y1-y2) str(x1-x2)+':'+str(y1-y2) c xy=[list(map(int,input().split()))for _ in range(N)] [list(map(int,input().split()))for _ in range(N)] xy
N=int(input())
xy=[list(map(int,input().split()))for _ in range(N)]

count=[]
for x1,y1 in xy:
    for x2,y2 in xy:
        if x1==x2 and y1==y2:
            continue
        c=str(x1-x2)+':'+str(y1-y2)
        count.append(c)

from collections import*
C=Counter(count)
C['zentsu999']=0
print(N-max(C.values()))