N = int(input())
A = {i for i in input().split()}
print("YES" if N==len(A) else "NO") N = int(input()) N int(input()) int input() input i for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() i A = {i for i in input().split()} A print("YES" if N==len(A) else "NO") print "YES" if N==len(A) else "NO" N==len(A) N len(A) len A "YES" "NO" A = {i for i in input().split()} A N = int(input()) int(input()) N
N = int(input())
A = {i for i in input().split()}
print("YES" if N==len(A) else "NO")