N = int(input())
A = list(map(int,input().split()))
A.sort()

check = True
for i in range(N-1):
  if A[i] == A[i+1]:
    check = False
    
print("YES" if check else "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 A.sort() A.sort A sort check = True check True for i in range(N-1):
  if A[i] == A[i+1]:
    check = False
     i range(N-1) range N-1 N 1 if A[i] == A[i+1]:
    check = False
     A[i] == A[i+1] A[i] A i A[i+1] A i+1 i 1 check = False check False print("YES" if check else "NO") print "YES" if check else "NO" check "YES" "NO" A = list(map(int,input().split())) list(map(int,input().split())) A check = False False check check = True True check N = int(input()) int(input()) N
N = int(input())
A = list(map(int,input().split()))
A.sort()

check = True
for i in range(N-1):
  if A[i] == A[i+1]:
    check = False
    
print("YES" if check else "NO")