N,D=input().split(' ')
n,d=int(N),int(D)

XY=[input().split(' ') for i in range(n)]
xy=[[int(XY[j][i])for i in range(2)]for j in range(n)]


S=0
for i in range(n):
  x,y=xy[i]
  if x**2+y**2<=d**2:
    S+=1
print(S) N,D=input().split(' ') N input().split(' ') ().split () input split ' ' D n,d=int(N),int(D) n int(N) int N d int(D) int D input().split(' ') for i in range(n) for i in range(n) i range(n) range n for i in range(n) input().split(' ') ().split () input split ' ' XY=[input().split(' ') for i in range(n)] XY [input().split(' ') for i in range(n)] [int(XY[j][i])for i in range(2)]for j in range(n) for j in range(n) j range(n) range n for j in range(n) [int(XY[j][i])for i in range(2)] xy=[[int(XY[j][i])for i in range(2)]for j in range(n)] xy [[int(XY[j][i])for i in range(2)]for j in range(n)] S=0 S 0 for i in range(n):
  x,y=xy[i]
  if x**2+y**2<=d**2:
    S+=1 i range(n) range n x,y=xy[i] x xy[i] xy i y if x**2+y**2<=d**2:
    S+=1 x**2+y**2<=d**2 x**2+y**2 x**2 x 2 y**2 y 2 d**2 d 2 S+=1 S 1 print(S) print S xy=[[int(XY[j][i])for i in range(2)]for j in range(n)] [[int(XY[j][i])for i in range(2)]for j in range(n)] xy D=input().split(' ') input().split(' ') D S+=1 1 S XY=[input().split(' ') for i in range(n)] [input().split(' ') for i in range(n)] XY N,D=input().split(' ') input().split(' ') N n,d=int(N),int(D) int(N) n y=xy[i] xy[i] y d=int(N),int(D) int(D) d x,y=xy[i] xy[i] x S=0 0 S
N,D=input().split(' ')
n,d=int(N),int(D)

XY=[input().split(' ') for i in range(n)]
xy=[[int(XY[j][i])for i in range(2)]for j in range(n)]


S=0
for i in range(n):
  x,y=xy[i]
  if x**2+y**2<=d**2:
    S+=1
print(S)