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