Write a program that checks if a set of N numbers contains a number M.
The first line contains the N number.
The next N lines contain the set of numbers one number per line.
The last line contains one integer number M.
You need to output either YES or NO.