n = int(input())
balls = []
for i in range(n):
    x, y = map(int, input().split())
    balls.append((x, y))

dic = {}

for i in range(n):
    for j in range(n):
        if i != j:
            coordinate = str((balls[i][0] - balls[j][0], balls[i][1] - balls[j][1]))
            if coordinate in dic:
                dic[coordinate] += 1
            else:
                dic[coordinate] = 1

dic = sorted(dic.items(), key = lambda x: x[1], reverse = True)
if len(dic) == 0:
    print(n)
else:
    print(n - dic[0][1]) n = int(input()) n int(input()) int input() input balls = [] balls [] for i in range(n):
    x, y = map(int, input().split())
    balls.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 balls.append((x, y)) balls.append balls append (x, y) x y dic = {} dic {} for i in range(n):
    for j in range(n):
        if i != j:
            coordinate = str((balls[i][0] - balls[j][0], balls[i][1] - balls[j][1]))
            if coordinate in dic:
                dic[coordinate] += 1
            else:
                dic[coordinate] = 1 i range(n) range n for j in range(n):
        if i != j:
            coordinate = str((balls[i][0] - balls[j][0], balls[i][1] - balls[j][1]))
            if coordinate in dic:
                dic[coordinate] += 1
            else:
                dic[coordinate] = 1 j range(n) range n if i != j:
            coordinate = str((balls[i][0] - balls[j][0], balls[i][1] - balls[j][1]))
            if coordinate in dic:
                dic[coordinate] += 1
            else:
                dic[coordinate] = 1 i != j i j coordinate = str((balls[i][0] - balls[j][0], balls[i][1] - balls[j][1])) coordinate str((balls[i][0] - balls[j][0], balls[i][1] - balls[j][1])) str (balls[i][0] - balls[j][0], balls[i][1] - balls[j][1]) balls[i][0] - balls[j][0] balls[i][0] [i] balls i 0 balls[j][0] [j] balls j 0 balls[i][1] - balls[j][1] balls[i][1] [i] balls i 1 balls[j][1] [j] balls j 1 if coordinate in dic:
                dic[coordinate] += 1
            else:
                dic[coordinate] = 1 coordinate in dic coordinate dic dic[coordinate] += 1 dic[coordinate] dic coordinate 1 dic[coordinate] = 1 dic[coordinate] dic coordinate 1 dic = sorted(dic.items(), key = lambda x: x[1], reverse = True) dic sorted(dic.items(), key = lambda x: x[1], reverse = True) sorted dic.items() dic.items dic items key = lambda x: x[1] key lambda x: x[1] x[1] x 1 x reverse = True reverse True if len(dic) == 0:
    print(n)
else:
    print(n - dic[0][1]) len(dic) == 0 len(dic) len dic 0 print(n) print n print(n - dic[0][1]) print n - dic[0][1] n dic[0][1] [0] dic 0 1 y = map(int, input().split()) map(int, input().split()) y balls = [] [] balls x, y = map(int, input().split()) map(int, input().split()) x dic = {} {} dic dic = sorted(dic.items(), key = lambda x: x[1], reverse = True) sorted(dic.items(), key = lambda x: x[1], reverse = True) dic coordinate = str((balls[i][0] - balls[j][0], balls[i][1] - balls[j][1])) str((balls[i][0] - balls[j][0], balls[i][1] - balls[j][1])) coordinate n = int(input()) int(input()) n
n = int(input())
balls = []
for i in range(n):
    x, y = map(int, input().split())
    balls.append((x, y))

dic = {}

for i in range(n):
    for j in range(n):
        if i != j:
            coordinate = str((balls[i][0] - balls[j][0], balls[i][1] - balls[j][1]))
            if coordinate in dic:
                dic[coordinate] += 1
            else:
                dic[coordinate] = 1

dic = sorted(dic.items(), key = lambda x: x[1], reverse = True)
if len(dic) == 0:
    print(n)
else:
    print(n - dic[0][1])
