n = input()
an = [int(num) for num in input().split()]
an_unique = list(set(an))

if len(an) == len(an_unique):
  print("YES")
else :
  print("NO") n = input() n input() input int(num) for num in input().split() for num in input().split() num input().split() ().split () input split for num in input().split() int(num) int num an = [int(num) for num in input().split()] an [int(num) for num in input().split()] an_unique = list(set(an)) an_unique list(set(an)) list set(an) set an if len(an) == len(an_unique):
  print("YES")
else :
  print("NO") len(an) == len(an_unique) len(an) len an len(an_unique) len an_unique print("YES") print "YES" print("NO") print "NO" n = input() input() n an_unique = list(set(an)) list(set(an)) an_unique an = [int(num) for num in input().split()] [int(num) for num in input().split()] an
n = input()
an = [int(num) for num in input().split()]
an_unique = list(set(an))

if len(an) == len(an_unique):
  print("YES")
else :
  print("NO")