n = int(input())
s = list(map(int, input().split()))

st = set(s)

if len(st) == n:
    print("YES")
else:
    print("NO") n = int(input()) n int(input()) int input() input s = list(map(int, input().split())) s list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split st = set(s) st set(s) set s if len(st) == n:
    print("YES")
else:
    print("NO") len(st) == n len(st) len st n print("YES") print "YES" print("NO") print "NO" st = set(s) set(s) st s = list(map(int, input().split())) list(map(int, input().split())) s n = int(input()) int(input()) n
n = int(input())
s = list(map(int, input().split()))

st = set(s)

if len(st) == n:
    print("YES")
else:
    print("NO")
