n = int(input()) p = [tuple(map(int, input().split())) for _ in range(n)] assert len(p) == len(set(p))