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

A_set = list(set(A))

if len(A) == len(A_set):
    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 A_set = list(set(A)) A_set list(set(A)) list set(A) set A if len(A) == len(A_set):
    print("YES")

else:
    print("NO") len(A) == len(A_set) len(A) len A len(A_set) len A_set print("YES") print "YES" print("NO") print "NO" A = list(map(int, input().split())) list(map(int, input().split())) A A_set = list(set(A)) list(set(A)) A_set n = int(input()) int(input()) n
n = int(input())
A = list(map(int, input().split()))

A_set = list(set(A))

if len(A) == len(A_set):
    print("YES")

else:
    print("NO")