N,D = [int(i) for i in input().split()]
XY = []
count = 0

for i in range(N):
  XY.append([int(i) for i in input().split()])

for xy in XY:
  dd = xy[0]**2+xy[1]**2
  if dd <= D**2:
    count +=1

print(count) int(i) for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() int(i) int i N,D = [int(i) for i in input().split()] N [int(i) for i in input().split()] D XY = [] XY [] count = 0 count 0 for i in range(N):
  XY.append([int(i) for i in input().split()]) i range(N) range N int(i) for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() int(i) int i XY.append([int(i) for i in input().split()]) XY.append XY append [int(i) for i in input().split()] for xy in XY:
  dd = xy[0]**2+xy[1]**2
  if dd <= D**2:
    count +=1 xy XY dd = xy[0]**2+xy[1]**2 dd xy[0]**2+xy[1]**2 xy[0]**2 xy[0] xy 0 2 xy[1]**2 xy[1] xy 1 2 if dd <= D**2:
    count +=1 dd <= D**2 dd D**2 D 2 count +=1 count 1 print(count) print count XY = [] [] XY N,D = [int(i) for i in input().split()] [int(i) for i in input().split()] N dd = xy[0]**2+xy[1]**2 xy[0]**2+xy[1]**2 dd count = 0 0 count D = [int(i) for i in input().split()] [int(i) for i in input().split()] D count +=1 1 count
N,D = [int(i) for i in input().split()]
XY = []
count = 0

for i in range(N):
  XY.append([int(i) for i in input().split()])

for xy in XY:
  dd = xy[0]**2+xy[1]**2
  if dd <= D**2:
    count +=1

print(count)