PROGRAMMING:There are duplicate data
It's a common thing to find out the duplicate in a lot of data. Now, we have to deal with many integers, in which there may be duplicate data.
You need to write a program to do this, read in the data, and check for duplicate data. If yes, output the three letters "yes"; If not, "no" is output.
###Input format:
Your program will first read a positive integer n, 1 < = n < = 100000. Then there are n integers.
###Output format:
If there are duplicate integers, output:
YES
Otherwise, it outputs:
NO
###Input example:
```in
five
1 2 3 1 4
```
###Output example:
```out
YES
```
answer:If there is no answer, please comment
You need to write a program to do this, read in the data, and check for duplicate data. If yes, output the three letters "yes"; If not, "no" is output.
###Input format:
Your program will first read a positive integer n, 1 < = n < = 100000. Then there are n integers.
###Output format:
If there are duplicate integers, output:
YES
Otherwise, it outputs:
NO
###Input example:
```in
five
1 2 3 1 4
```
###Output example:
```out
YES
```
answer:If there is no answer, please comment