#abc154c. [abc154_c]Distinct or Not

[abc154_c]Distinct or Not

给定一个长度为 NN 的序列 A1,A2,...,ANA_1,A_2,...,A_N
如果序列中的数字两两不同,输出 YES ,否则输出NO