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