n=int(input())
a=list(map(int,input().split()))
ans=set()
for i in range(n):
    ans.add(a[i])
if len(a)==len(ans):
    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 ans=set() ans set() set for i in range(n):
    ans.add(a[i]) i range(n) range n ans.add(a[i]) ans.add ans add a[i] a i if len(a)==len(ans):
    print("YES")
else:
    print("NO") len(a)==len(ans) len(a) len a len(ans) len ans print("YES") print "YES" print("NO") print "NO" a=list(map(int,input().split())) list(map(int,input().split())) a ans=set() set() ans n=int(input()) int(input()) n
n=int(input())
a=list(map(int,input().split()))
ans=set()
for i in range(n):
    ans.add(a[i])
if len(a)==len(ans):
    print("YES")
else:
    print("NO")