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

cnt = {}

for a_i in a:
    try:
        cnt[ a_i ]
        print( "NO" )
        break
    except KeyError:
        cnt[ a_i ] = 1
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 cnt = {} cnt {} for a_i in a:
    try:
        cnt[ a_i ]
        print( "NO" )
        break
    except KeyError:
        cnt[ a_i ] = 1
else:
    print( "YES" ) a_i a try:
        cnt[ a_i ]
        print( "NO" )
        break
    except KeyError:
        cnt[ a_i ] = 1 except KeyError:
        cnt[ a_i ] = 1 cnt[ a_i ] = 1 cnt[ a_i ] cnt a_i 1 cnt[ a_i ] cnt a_i print( "NO" ) print "NO" break print( "YES" ) print "YES" n = int( input() ) int( input() ) n a = list( map( int, input().split() ) ) list( map( int, input().split() ) ) a cnt = {} {} cnt
n = int( input() )
a = list( map( int, input().split() ) )

cnt = {}

for a_i in a:
    try:
        cnt[ a_i ]
        print( "NO" )
        break
    except KeyError:
        cnt[ a_i ] = 1
else:
    print( "YES" )