_ = input()
A = [int(i) for i in input().split()]

if len(A) == len(set(A)):
  print("YES")
else:
  print("NO") _ = input() _ input() input int(i) for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() int(i) int i A = [int(i) for i in input().split()] A [int(i) for i in input().split()] if len(A) == len(set(A)):
  print("YES")
else:
  print("NO") len(A) == len(set(A)) len(A) len A len(set(A)) len set(A) set A print("YES") print "YES" print("NO") print "NO" A = [int(i) for i in input().split()] [int(i) for i in input().split()] A _ = input() input() _
_ = input()
A = [int(i) for i in input().split()]

if len(A) == len(set(A)):
  print("YES")
else:
  print("NO")