n=int(input(''))
a=list(map(int,input('').split(' ')))
b={}
for i in range(n):
    if str(a[i]) in b:
        b[str(a[i])]+=1
    else:
        b[str(a[i])]=1

ok=1
for i in b:
    if b[i]>=2:
        ok=0
        break

if ok==0:
    print('NO')
else:
    print('YES') 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 ' ' b={} b {} for i in range(n):
    if str(a[i]) in b:
        b[str(a[i])]+=1
    else:
        b[str(a[i])]=1 i range(n) range n if str(a[i]) in b:
        b[str(a[i])]+=1
    else:
        b[str(a[i])]=1 str(a[i]) in b str(a[i]) str a[i] a i b b[str(a[i])]+=1 b[str(a[i])] b str(a[i]) str a[i] a i 1 b[str(a[i])]=1 b[str(a[i])] b str(a[i]) str a[i] a i 1 ok=1 ok 1 for i in b:
    if b[i]>=2:
        ok=0
        break i b if b[i]>=2:
        ok=0
        break b[i]>=2 b[i] b i 2 ok=0 ok 0 break if ok==0:
    print('NO')
else:
    print('YES') ok==0 ok 0 print('NO') print 'NO' print('YES') print 'YES' n=int(input('')) int(input('')) n ok=0 0 ok a=list(map(int,input('').split(' '))) list(map(int,input('').split(' '))) a b={} {} b ok=1 1 ok
n=int(input(''))
a=list(map(int,input('').split(' ')))
b={}
for i in range(n):
    if str(a[i]) in b:
        b[str(a[i])]+=1
    else:
        b[str(a[i])]=1

ok=1
for i in b:
    if b[i]>=2:
        ok=0
        break

if ok==0:
    print('NO')
else:
    print('YES')