N,D=[int(i) for i in input().split()]
ans=0
for i in range(N):
  x,y=[int(i) for i in input().split()] 
  if x*x + y*y <= D*D:
      ans += 1
print(ans) 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 ans=0 ans 0 for i in range(N):
  x,y=[int(i) for i in input().split()] 
  if x*x + y*y <= D*D:
      ans += 1 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 x,y=[int(i) for i in input().split()] x [int(i) for i in input().split()] y if x*x + y*y <= D*D:
      ans += 1 x*x + y*y <= D*D x*x + y*y x*x x x y*y y y D*D D D ans += 1 ans 1 print(ans) print ans ans=0 0 ans x,y=[int(i) for i in input().split()] [int(i) for i in input().split()] x D=[int(i) for i in input().split()] [int(i) for i in input().split()] D ans += 1 1 ans N,D=[int(i) for i in input().split()] [int(i) for i in input().split()] N y=[int(i) for i in input().split()] [int(i) for i in input().split()] y
N,D=[int(i) for i in input().split()]
ans=0
for i in range(N):
  x,y=[int(i) for i in input().split()] 
  if x*x + y*y <= D*D:
      ans += 1
print(ans)
