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