input()
(*a,) = map(int, input().split())
print(["NO", "YES"][len(a) == len(set(a))]) input() input (*a,) = map(int, input().split()) *a a map(int, input().split()) map int input().split() ().split () input split print(["NO", "YES"][len(a) == len(set(a))]) print ["NO", "YES"][len(a) == len(set(a))] ["NO", "YES"] "NO" "YES" len(a) == len(set(a)) len(a) len a len(set(a)) len set(a) set a
input()
(*a,) = map(int, input().split())
print(["NO", "YES"][len(a) == len(set(a))])