A sorted array of elements is given. Find a pair (a_i, a_j) in this array such that a_i + a_j = x (where i < j).
The first line contains integers (n \le 10^5) and (x \le 10^6). The next line contains elements a_0, a_1, a_2, ..., a_{n-1} in non-decreasing order. All numbers are not greater than 10^6.
Output YES if there exists such a pair satisfying the condition above, otherwise output NO.
Example 1
Example 2