N = map(int,input().split())
Numbers = list(map(int,input().split()))
if len(set(Numbers))==len(Numbers):
    print("YES")
else :
    print("NO") N = map(int,input().split()) N map(int,input().split()) map int input().split() ().split () input split Numbers = list(map(int,input().split())) Numbers list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split if len(set(Numbers))==len(Numbers):
    print("YES")
else :
    print("NO") len(set(Numbers))==len(Numbers) len(set(Numbers)) len set(Numbers) set Numbers len(Numbers) len Numbers print("YES") print "YES" print("NO") print "NO" N = map(int,input().split()) map(int,input().split()) N Numbers = list(map(int,input().split())) list(map(int,input().split())) Numbers
N = map(int,input().split())
Numbers = list(map(int,input().split()))
if len(set(Numbers))==len(Numbers):
    print("YES")
else :
    print("NO")