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