N = int(input()) if len(set([input() for _ in range(N)])) < N: print("Yes") else: print("No")