N = int(input())
A_ls = input().split(' ')
A_set = { i for i in A_ls }
if len(A_set) == N:
    print('YES')
else:
    print('NO') N = int(input()) N int(input()) int input() input A_ls = input().split(' ') A_ls input().split(' ') ().split () input split ' ' i for i in A_ls for i in A_ls i A_ls for i in A_ls i A_set = { i for i in A_ls } A_set if len(A_set) == N:
    print('YES')
else:
    print('NO') len(A_set) == N len(A_set) len A_set N print('YES') print 'YES' print('NO') print 'NO' N = int(input()) int(input()) N A_ls = input().split(' ') input().split(' ') A_ls A_set = { i for i in A_ls } A_set
N = int(input())
A_ls = input().split(' ')
A_set = { i for i in A_ls }
if len(A_set) == N:
    print('YES')
else:
    print('NO')