Pairs#10126

Pairs

1 second
128 megabytes
Very easy

Array of unique integers and a target value are given. Determine the number of pairs of array elements that have a difference equal to a target value .

Input

First line contains two integers n~(2 \le n \le 10^5) and k~(0 < k < 10^9). Second line contains unique integers in the range from to 2^{31} - 1.

Output

Print the number of pairs of array integers with difference .

Examples

Example

Input
4 3
2 5 7 10
Output
2

Example 1

Loading
Loading

Note

In the sample there are two pairs of numbers with difference : and .