N = int(input())
A = sorted(map(int, input().split()))
print("YES" if all(A[i]-A[i-1]>0 for i in range(1, N)) else "NO") N = int(input()) N int(input()) int input() input A = sorted(map(int, input().split())) A sorted(map(int, input().split())) sorted map(int, input().split()) map int input().split() ().split () input split print("YES" if all(A[i]-A[i-1]>0 for i in range(1, N)) else "NO") print "YES" if all(A[i]-A[i-1]>0 for i in range(1, N)) else "NO" all(A[i]-A[i-1]>0 for i in range(1, N)) all A[i]-A[i-1]>0 A[i]-A[i-1] A[i] A i A[i-1] A i-1 i 1 0 "YES" "NO" N = int(input()) int(input()) N A = sorted(map(int, input().split())) sorted(map(int, input().split())) A
N = int(input())
A = sorted(map(int, input().split()))
print("YES" if all(A[i]-A[i-1]>0 for i in range(1, N)) else "NO")