N , D = map(int, input(). split())
Z = [list(map(int, input().split())) for i in range(N)]
total = 0
for point in Z:
    if point[0]**2 + point[1]**2 <= D**2:
        total += 1
    else:
        continue
print(total) N , D = map(int, input(). split()) N map(int, input(). split()) map int input(). split() (). split () input split D list(map(int, input().split())) for i in range(N) for i in range(N) i range(N) range N for i in range(N) list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split Z = [list(map(int, input().split())) for i in range(N)] Z [list(map(int, input().split())) for i in range(N)] total = 0 total 0 for point in Z:
    if point[0]**2 + point[1]**2 <= D**2:
        total += 1
    else:
        continue point Z if point[0]**2 + point[1]**2 <= D**2:
        total += 1
    else:
        continue point[0]**2 + point[1]**2 <= D**2 point[0]**2 + point[1]**2 point[0]**2 point[0] point 0 2 point[1]**2 point[1] point 1 2 D**2 D 2 total += 1 total 1 continue print(total) print total D = map(int, input(). split()) map(int, input(). split()) D Z = [list(map(int, input().split())) for i in range(N)] [list(map(int, input().split())) for i in range(N)] Z total = 0 0 total N , D = map(int, input(). split()) map(int, input(). split()) N total += 1 1 total
N , D = map(int, input(). split())
Z = [list(map(int, input().split())) for i in range(N)]
total = 0
for point in Z:
    if point[0]**2 + point[1]**2 <= D**2:
        total += 1
    else:
        continue
print(total)
