n = int(input())
a = [int(x) for x in input().split()]
c = []
res = "YES"
for i in range(n):
  c.append(a[i])
c = set(c)
if len(c) != n:
  res = "NO"
print(res) n = int(input()) n int(input()) int input() input int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x a = [int(x) for x in input().split()] a [int(x) for x in input().split()] c = [] c [] res = "YES" res "YES" for i in range(n):
  c.append(a[i]) i range(n) range n c.append(a[i]) c.append c append a[i] a i c = set(c) c set(c) set c if len(c) != n:
  res = "NO" len(c) != n len(c) len c n res = "NO" res "NO" print(res) print res c = [] [] c c = set(c) set(c) c n = int(input()) int(input()) n res = "NO" "NO" res a = [int(x) for x in input().split()] [int(x) for x in input().split()] a res = "YES" "YES" res
n = int(input())
a = [int(x) for x in input().split()]
c = []
res = "YES"
for i in range(n):
  c.append(a[i])
c = set(c)
if len(c) != n:
  res = "NO"
print(res)