N = int(input())
A_ls = map(int, input().split(' '))
rst = { i for i in A_ls }
if len(rst) == N:
    print('YES')
else:
    print('NO') N = int(input()) N int(input()) int input() input A_ls = map(int, input().split(' ')) A_ls map(int, input().split(' ')) map int 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 rst = { i for i in A_ls } rst if len(rst) == N:
    print('YES')
else:
    print('NO') len(rst) == N len(rst) len rst N print('YES') print 'YES' print('NO') print 'NO' rst = { i for i in A_ls } rst N = int(input()) int(input()) N A_ls = map(int, input().split(' ')) map(int, input().split(' ')) A_ls
N = int(input())
A_ls = map(int, input().split(' '))
rst = { i for i in A_ls }
if len(rst) == N:
    print('YES')
else:
    print('NO')