import numpy as np
[N, D] = map(int, input().split())
X, Y = np.zeros(N), np.zeros(N)

for i in range(N):
    [x, y] = map(int, input().split())
    X[i], Y[i] = x, y

dist = np.sqrt(X * X + Y * Y)
print(len(np.where(dist <= D)[0])) import numpy as np numpy [N, D] = map(int, input().split()) [N, D] N D map(int, input().split()) map int input().split() ().split () input split X, Y = np.zeros(N), np.zeros(N) X np.zeros(N) np.zeros np zeros N Y np.zeros(N) np.zeros np zeros N for i in range(N):
    [x, y] = map(int, input().split())
    X[i], Y[i] = x, y i range(N) range N [x, y] = map(int, input().split()) [x, y] x y map(int, input().split()) map int input().split() ().split () input split X[i], Y[i] = x, y X[i] X i x Y[i] Y i y dist = np.sqrt(X * X + Y * Y) dist np.sqrt(X * X + Y * Y) np.sqrt np sqrt X * X + Y * Y X * X X X Y * Y Y Y print(len(np.where(dist <= D)[0])) print len(np.where(dist <= D)[0]) len np.where(dist <= D)[0] np.where(dist <= D) np.where np where dist <= D dist D 0 dist = np.sqrt(X * X + Y * Y) np.sqrt(X * X + Y * Y) dist X, Y = np.zeros(N), np.zeros(N) np.zeros(N) X Y = np.zeros(N), np.zeros(N) np.zeros(N) Y
import numpy as np
[N, D] = map(int, input().split())
X, Y = np.zeros(N), np.zeros(N)

for i in range(N):
    [x, y] = map(int, input().split())
    X[i], Y[i] = x, y

dist = np.sqrt(X * X + Y * Y)
print(len(np.where(dist <= D)[0]))
