Existence of a Gap#238

Existence of a Gap

1 second
128 megabytes
Easy (≈1000)

You are given a sequence of elements: A = (a_1, a_2, ..., a_n).

You need to determine whether there exists a pair in this sequence such that (where 1 \le i, j \le n) the condition a_i - a_j = x is satisfied.

Input

The first line contains the integers n\:(2 \le n \le 2 \cdot 10^5) and x\:(-10^9 \le x \le 10^9).

The second line contains the elements of the sequence a_1, a_2, ..., a_n\:(-10^9 \le a_i \le 10^9).

Output

Output Yes if there exists such a pair (1 \le i, j \le n) that satisfies a_i - a_j = x. Otherwise, output No.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading