N = int(input())
a = list(map(int,input().split()))
dic = {}
for nums in a:
  if nums in dic:
    dic[nums] += 1
  else:
    dic[nums] = 1
ma = 0
for keys in dic:
  ma = max(ma,dic[keys])
if ma == 1:
  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 dic = {} dic {} for nums in a:
  if nums in dic:
    dic[nums] += 1
  else:
    dic[nums] = 1 nums a if nums in dic:
    dic[nums] += 1
  else:
    dic[nums] = 1 nums in dic nums dic dic[nums] += 1 dic[nums] dic nums 1 dic[nums] = 1 dic[nums] dic nums 1 ma = 0 ma 0 for keys in dic:
  ma = max(ma,dic[keys]) keys dic ma = max(ma,dic[keys]) ma max(ma,dic[keys]) max ma dic[keys] dic keys if ma == 1:
  print("YES")
else:
  print("NO") ma == 1 ma 1 print("YES") print "YES" print("NO") print "NO" N = int(input()) int(input()) N a = list(map(int,input().split())) list(map(int,input().split())) a ma = max(ma,dic[keys]) max(ma,dic[keys]) ma dic = {} {} dic ma = 0 0 ma
N = int(input())
a = list(map(int,input().split()))
dic = {}
for nums in a:
  if nums in dic:
    dic[nums] += 1
  else:
    dic[nums] = 1
ma = 0
for keys in dic:
  ma = max(ma,dic[keys])
if ma == 1:
  print("YES")
else:
  print("NO")