Sum of two#11244

Sum of two

1 second
128 megabytes
Easy

Given an array sorted in ascending order and containing integers, determine whether there exists a pair of numbers (A_i, A_j) where i < j, such that their sum is equal to .

Input

The first line contains two integers (n \le 10^5) and (x \le 10^6). The second line contains non-negative integers, each not greater than 10^6.

Output

Print "YES" if such a pair of elements exists, and "NO" otherwise.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading