n = int(input())
s = set(map(int, input().split()))
print("YES" if n == len(s) else "NO") n = int(input()) n int(input()) int input() input s = set(map(int, input().split())) s set(map(int, input().split())) set map(int, input().split()) map int input().split() ().split () input split print("YES" if n == len(s) else "NO") print "YES" if n == len(s) else "NO" n == len(s) n len(s) len s "YES" "NO" s = set(map(int, input().split())) set(map(int, input().split())) s n = int(input()) int(input()) n
n = int(input())
s = set(map(int, input().split()))
print("YES" if n == len(s) else "NO")