n = int(input())
a = list(map(int, input().split()))

s = set()
for i in range(len(a)):
    s.add(a[i])

if len(a) == len(s):
    print('YES')
else:
    print('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 s = set() s set() set for i in range(len(a)):
    s.add(a[i]) i range(len(a)) range len(a) len a s.add(a[i]) s.add s add a[i] a i if len(a) == len(s):
    print('YES')
else:
    print('NO') len(a) == len(s) len(a) len a len(s) len s print('YES') print 'YES' print('NO') print 'NO' s = set() set() s 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()))

s = set()
for i in range(len(a)):
    s.add(a[i])

if len(a) == len(s):
    print('YES')
else:
    print('NO')