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

dic = {}

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

dic = {}

for i in A:
    if i not in dic:
        dic[i] = 0
    dic[i] += 1
    
print("YES" if max(dic.values()) == 1 else "NO")