n = int(input())
a = set(input().split())
print('YES' if (len(a) == n) else 'NO') n = int(input()) n int(input()) int input() input a = set(input().split()) a set(input().split()) set input().split() ().split () input split print('YES' if (len(a) == n) else 'NO') print 'YES' if (len(a) == n) else 'NO' len(a) == n len(a) len a n 'YES' 'NO' a = set(input().split()) set(input().split()) a n = int(input()) int(input()) n
n = int(input())
a = set(input().split())
print('YES' if (len(a) == n) else 'NO')