N = int(input())
Alist = list(map(int, input().split()))

Aset = set(Alist)

if len(Aset) == len(Alist):
    print("YES")
else:
    print("NO") N = int(input()) N int(input()) int input() input Alist = list(map(int, input().split())) Alist list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split Aset = set(Alist) Aset set(Alist) set Alist if len(Aset) == len(Alist):
    print("YES")
else:
    print("NO") len(Aset) == len(Alist) len(Aset) len Aset len(Alist) len Alist print("YES") print "YES" print("NO") print "NO" Aset = set(Alist) set(Alist) Aset Alist = list(map(int, input().split())) list(map(int, input().split())) Alist N = int(input()) int(input()) N
N = int(input())
Alist = list(map(int, input().split()))

Aset = set(Alist)

if len(Aset) == len(Alist):
    print("YES")
else:
    print("NO")
