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

A = list(set(A))

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

A = list(set(A))

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