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

sets = set(num_list)

if len(num_list) == len(sets):
    ans = 'YES'
else:
    ans = 'NO'

print(ans) n = int(input()) n int(input()) int input() input num_list = list(map(int, input().split())) num_list list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split sets = set(num_list) sets set(num_list) set num_list if len(num_list) == len(sets):
    ans = 'YES'
else:
    ans = 'NO' len(num_list) == len(sets) len(num_list) len num_list len(sets) len sets ans = 'YES' ans 'YES' ans = 'NO' ans 'NO' print(ans) print ans sets = set(num_list) set(num_list) sets n = int(input()) int(input()) n ans = 'YES' 'YES' ans num_list = list(map(int, input().split())) list(map(int, input().split())) num_list ans = 'NO' 'NO' ans
n = int(input())
num_list = list(map(int, input().split()))

sets = set(num_list)

if len(num_list) == len(sets):
    ans = 'YES'
else:
    ans = 'NO'

print(ans)