N,D = (int(x) for x in input().split())
xy = [map(int, input().split()) for _ in range(N)]
num = 0
for x,y in xy:
    if( x**2 + y**2 <= D**2):
        num += 1
print(num) int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x N,D = (int(x) for x in input().split()) N (int(x) for x in input().split()) D map(int, input().split()) for _ in range(N) for _ in range(N) _ range(N) range N for _ in range(N) map(int, input().split()) map int input().split() ().split () input split xy = [map(int, input().split()) for _ in range(N)] xy [map(int, input().split()) for _ in range(N)] num = 0 num 0 for x,y in xy:
    if( x**2 + y**2 <= D**2):
        num += 1 x y xy if( x**2 + y**2 <= D**2):
        num += 1 x**2 + y**2 <= D**2 x**2 + y**2 x**2 x 2 y**2 y 2 D**2 D 2 num += 1 num 1 print(num) print num num = 0 0 num num += 1 1 num N,D = (int(x) for x in input().split()) (int(x) for x in input().split()) N D = (int(x) for x in input().split()) (int(x) for x in input().split()) D xy = [map(int, input().split()) for _ in range(N)] [map(int, input().split()) for _ in range(N)] xy
N,D = (int(x) for x in input().split())
xy = [map(int, input().split()) for _ in range(N)]
num = 0
for x,y in xy:
    if( x**2 + y**2 <= D**2):
        num += 1
print(num)