An array of ordered integers is given. You are required to answer queries: whether is present in the array or not.
The first line provides the integers and q\:(n, q \le 10^6). The next line contains integers in increasing order. Each of the following lines contains the variable . The numbers in the array are not greater than 10^9 in absolute value.
For each value of , output "YES" if is in the array, and "NO" otherwise, each on a separate line.
Example 1
Example 3