n = int(input())
ans = set()
puzzle = list(map(int,input().split()))
for x in puzzle:
    ans.add(x)
l = len(ans)
p = len(puzzle)
if l==p:
    print("YES")
else:
    print("NO") n = int(input()) n int(input()) int input() input ans = set() ans set() set puzzle = list(map(int,input().split())) puzzle list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split for x in puzzle:
    ans.add(x) x puzzle ans.add(x) ans.add ans add x l = len(ans) l len(ans) len ans p = len(puzzle) p len(puzzle) len puzzle if l==p:
    print("YES")
else:
    print("NO") l==p l p print("YES") print "YES" print("NO") print "NO" p = len(puzzle) len(puzzle) p puzzle = list(map(int,input().split())) list(map(int,input().split())) puzzle ans = set() set() ans l = len(ans) len(ans) l n = int(input()) int(input()) n
n = int(input())
ans = set()
puzzle = list(map(int,input().split()))
for x in puzzle:
    ans.add(x)
l = len(ans)
p = len(puzzle)
if l==p:
    print("YES")
else:
    print("NO")