N, D = map(int, input().split())
X = [list(map(int, input().split())) for l in range(N)]
count = 0

for i in range(N):
  if (X[i][0])**2 + (X[i][1])**2 - D**2 <= 0:
    count = count + 1
    
print(count) N, D = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split D list(map(int, input().split())) for l in range(N) for l in range(N) l range(N) range N for l in range(N) list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split X = [list(map(int, input().split())) for l in range(N)] X [list(map(int, input().split())) for l in range(N)] count = 0 count 0 for i in range(N):
  if (X[i][0])**2 + (X[i][1])**2 - D**2 <= 0:
    count = count + 1
     i range(N) range N if (X[i][0])**2 + (X[i][1])**2 - D**2 <= 0:
    count = count + 1
     (X[i][0])**2 + (X[i][1])**2 - D**2 <= 0 (X[i][0])**2 + (X[i][1])**2 - D**2 (X[i][0])**2 + (X[i][1])**2 (X[i][0])**2 X[i][0] [i] X i 0 2 (X[i][1])**2 X[i][1] [i] X i 1 2 D**2 D 2 0 count = count + 1 count count + 1 count 1 print(count) print count count = 0 0 count N, D = map(int, input().split()) map(int, input().split()) N X = [list(map(int, input().split())) for l in range(N)] [list(map(int, input().split())) for l in range(N)] X D = map(int, input().split()) map(int, input().split()) D count = count + 1 count + 1 count
N, D = map(int, input().split())
X = [list(map(int, input().split())) for l in range(N)]
count = 0

for i in range(N):
  if (X[i][0])**2 + (X[i][1])**2 - D**2 <= 0:
    count = count + 1
    
print(count)
