Arkady the air traffic controller is now working with *n* planes in the air. All planes move along a straight coordinate axis with Arkady's station being at point 0 on it. The *i*-th plane, small enough to be represented by a point, currently has a coordinate of *x*<sub class="lower-index">*i*</sub> and is moving with speed *v*<sub class="lower-index">*i*</sub>. It's guaranteed that *x*<sub class="lower-index">*i*</sub>·*v*<sub class="lower-index">*i*</sub> &lt; 0, i.e., all planes are moving towards the station.

Occasionally, the planes are affected by winds. With a wind of speed *v*<sub class="lower-index">*wind*</sub> (not necessarily positive or integral), the speed of the *i*-th plane becomes *v*<sub class="lower-index">*i*</sub> + *v*<sub class="lower-index">*wind*</sub>.

According to weather report, the current wind has a steady speed falling inside the range [ - *w*, *w*] (inclusive), but the exact value cannot be measured accurately since this value is rather small — smaller than the absolute value of speed of any plane.

Each plane should contact Arkady at the exact moment it passes above his station. And you are to help Arkady count the number of pairs of planes (*i*, *j*) (*i* &lt; *j*) there are such that there is a possible value of wind speed, under which planes *i* and *j* contact Arkady at the same moment. This value needn't be the same across different pairs.

The wind speed is the same for all planes. You may assume that the wind has a steady speed and lasts arbitrarily long.
The first line contains two integers *n* and *w* (1 ≤ *n* ≤ 100 000, 0 ≤ *w* &lt; 10<sup class="upper-index">5</sup>) — the number of planes and the maximum wind speed.

The *i*-th of the next *n* lines contains two integers *x*<sub class="lower-index">*i*</sub> and *v*<sub class="lower-index">*i*</sub> (1 ≤ |*x*<sub class="lower-index">*i*</sub>| ≤ 10<sup class="upper-index">5</sup>, *w* + 1 ≤ |*v*<sub class="lower-index">*i*</sub>| ≤ 10<sup class="upper-index">5</sup>, *x*<sub class="lower-index">*i*</sub>·*v*<sub class="lower-index">*i*</sub> &lt; 0) — the initial position and speed of the *i*-th plane.

Planes are pairwise distinct, that is, no pair of (*i*, *j*) (*i* &lt; *j*) exists such that both *x*<sub class="lower-index">*i*</sub> = *x*<sub class="lower-index">*j*</sub> and *v*<sub class="lower-index">*i*</sub> = *v*<sub class="lower-index">*j*</sub>.
In the first example, the following 3 pairs of planes satisfy the requirements: 
 -  (2, 5) passes the station at time 3 / 4 with *v*<sub class="lower-index">*wind*</sub> = 1; -  (3, 4) passes the station at time 2 / 5 with *v*<sub class="lower-index">*wind*</sub> = 1 / 2; -  (3, 5) passes the station at time 4 / 7 with *v*<sub class="lower-index">*wind*</sub> =  - 1 / 4. 
In the second example, each of the 3 planes with negative coordinates can form a valid pair with each of the other 3, totaling 9 pairs.
n, w = map(int, input().split())

x = [None] * n
v = [None] * n
t = [None] * n

for i in range(n):
    x[i], v[i] = map(int, input().split())
    t[i] = (-x[i] / (v[i] - w), -x[i] / (v[i] + w))

t.sort(key=lambda x: (x[0],-x[1]))
S = []
#print(t)

answer = 0
for t1, t2 in t:
    answer += len(list(x for x in S if x >= t2))
    S.append(t2)
print(answer)
#print(S)

#from matplotlib import pyplot as plt
#for t1, t2 in t:
#    plt.plot([0,1], [t1, t2], 'r-')
#plt.show()
