from collections import Counter as c
N = int(input())
A = list(input().split())
if c(A).most_common()[0][1] == 1: print("YES")
else: print("NO") from collections import Counter as c N = int(input()) N int(input()) int input() input A = list(input().split()) A list(input().split()) list input().split() ().split () input split if c(A).most_common()[0][1] == 1: print("YES")
else: print("NO") c(A).most_common()[0][1] == 1 c(A).most_common()[0][1] [0] (A).most_common() (A).most_common (A) c A most_common 0 1 1 N = int(input()) int(input()) N A = list(input().split()) list(input().split()) A
from collections import Counter as c
N = int(input())
A = list(input().split())
if c(A).most_common()[0][1] == 1: print("YES")
else: print("NO")