#!/usr/bin/env python3
_, *a = open(0).read().split()
print("YNEOS"[len(a) != len({*a})::2]) _, *a = open(0).read().split() _ open(0).read().split() (0).read().split (0).read() (0).read (0) open 0 read split *a a print("YNEOS"[len(a) != len({*a})::2]) print "YNEOS"[len(a) != len({*a})::2] "YNEOS" len(a) != len({*a})::2 len(a) != len({*a}) len(a) len a len({*a}) len {*a} 2 _, *a = open(0).read().split() open(0).read().split() _
#!/usr/bin/env python3
_, *a = open(0).read().split()
print("YNEOS"[len(a) != len({*a})::2])
