n, d = map(int, input().split())
xy = [0]*n
for i in range(n):
  xy[i] = list(map(int, input().split()))
  
def judge(x, y):
  return (((x**2 + y**2)**0.5))

cnt = 0
for i in range(n):
  dis = judge(xy[i][0], xy[i][1])
  if dis <= d:
    cnt += 1
    
print(cnt) n, d = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split d xy = [0]*n xy [0]*n [0] 0 n for i in range(n):
  xy[i] = list(map(int, input().split()))
   i range(n) range n xy[i] = list(map(int, input().split())) xy[i] xy i list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split def judge(x, y):
  return (((x**2 + y**2)**0.5)) judge return (((x**2 + y**2)**0.5)) (x**2 + y**2)**0.5 x**2 + y**2 x**2 x 2 y**2 y 2 0.5 x x y y cnt = 0 cnt 0 for i in range(n):
  dis = judge(xy[i][0], xy[i][1])
  if dis <= d:
    cnt += 1
     i range(n) range n dis = judge(xy[i][0], xy[i][1]) dis judge(xy[i][0], xy[i][1]) judge xy[i][0] [i] xy i 0 xy[i][1] [i] xy i 1 if dis <= d:
    cnt += 1
     dis <= d dis d cnt += 1 cnt 1 print(cnt) print cnt def judge(x, y):
  return (((x**2 + y**2)**0.5)) def judge(x, y):
  return (((x**2 + y**2)**0.5)) judge dis = judge(xy[i][0], xy[i][1]) judge(xy[i][0], xy[i][1]) dis d = map(int, input().split()) map(int, input().split()) d cnt = 0 0 cnt n, d = map(int, input().split()) map(int, input().split()) n xy = [0]*n [0]*n xy cnt += 1 1 cnt
n, d = map(int, input().split())
xy = [0]*n
for i in range(n):
  xy[i] = list(map(int, input().split()))
  
def judge(x, y):
  return (((x**2 + y**2)**0.5))

cnt = 0
for i in range(n):
  dis = judge(xy[i][0], xy[i][1])
  if dis <= d:
    cnt += 1
    
print(cnt)