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

A_set = set(A)

if len(A) == len(A_set):
  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 A_set = set(A) A_set set(A) set A if len(A) == len(A_set):
  print('YES')
else:
  print('NO') len(A) == len(A_set) len(A) len A len(A_set) len A_set print('YES') print 'YES' print('NO') print 'NO' A_set = set(A) set(A) A_set A = list(map(int, input().split())) list(map(int, input().split())) A N = int(input()) int(input()) N
N = int(input())
A = list(map(int, input().split()))

A_set = set(A)

if len(A) == len(A_set):
  print('YES')
else:
  print('NO')