N = int(input())
As = [int(a) for a in input().split()]

a_uniq = set(As)

if len(a_uniq) == N:
    print("YES")
else:
    print("NO") N = int(input()) N int(input()) int input() input int(a) for a in input().split() for a in input().split() a input().split() ().split () input split for a in input().split() int(a) int a As = [int(a) for a in input().split()] As [int(a) for a in input().split()] a_uniq = set(As) a_uniq set(As) set As if len(a_uniq) == N:
    print("YES")
else:
    print("NO") len(a_uniq) == N len(a_uniq) len a_uniq N print("YES") print "YES" print("NO") print "NO" N = int(input()) int(input()) N a_uniq = set(As) set(As) a_uniq As = [int(a) for a in input().split()] [int(a) for a in input().split()] As
N = int(input())
As = [int(a) for a in input().split()]

a_uniq = set(As)

if len(a_uniq) == N:
    print("YES")
else:
    print("NO")
