N = int(input())
A = list(map(int,input().split()))
C = {}
for i in range(N):
    a = A[i]
    if a not in C:
        C[a] = 0
    C[a] += 1
if len(C)==N:
    print("YES")
else:
    print("NO") N = int(input()) N int(input()) int input() input A = list(map(int,input().split())) A list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split C = {} C {} for i in range(N):
    a = A[i]
    if a not in C:
        C[a] = 0
    C[a] += 1 i range(N) range N a = A[i] a A[i] A i if a not in C:
        C[a] = 0
     a not in C a C C[a] = 0 C[a] C a 0 C[a] += 1 C[a] C a 1 if len(C)==N:
    print("YES")
else:
    print("NO") len(C)==N len(C) len C N print("YES") print "YES" print("NO") print "NO" C = {} {} C a = A[i] A[i] a A = list(map(int,input().split())) list(map(int,input().split())) A N = int(input()) int(input()) N
N = int(input())
A = list(map(int,input().split()))
C = {}
for i in range(N):
    a = A[i]
    if a not in C:
        C[a] = 0
    C[a] += 1
if len(C)==N:
    print("YES")
else:
    print("NO")