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 .
First line contains integers and . Second line contains unique integers in the range from to .
Print the number of pairs of array integers with difference .
In the sample there are two pairs of numbers with difference and .