N = int(input())
A = [int(s) for s in input().split(' ')]

print('YES' if N == len(set(A)) else 'NO') N = int(input()) N int(input()) int input() input int(s) for s in input().split(' ') for s in input().split(' ') s input().split(' ') ().split () input split ' ' for s in input().split(' ') int(s) int s A = [int(s) for s in input().split(' ')] A [int(s) for s in input().split(' ')] print('YES' if N == len(set(A)) else 'NO') print 'YES' if N == len(set(A)) else 'NO' N == len(set(A)) N len(set(A)) len set(A) set A 'YES' 'NO' N = int(input()) int(input()) N A = [int(s) for s in input().split(' ')] [int(s) for s in input().split(' ')] A
N = int(input())
A = [int(s) for s in input().split(' ')]

print('YES' if N == len(set(A)) else 'NO')
