n, d = map(int, input().split())
xy = [list(map(int, input().split())) for _ in range(n)]

ans = 0
for i in xy:
    if (i[0]**2 + i[1]**2)**(1/2) <= d:
        ans += 1
print(ans) 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 _ in range(n) for _ in range(n) _ range(n) range n for _ in range(n) list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split xy = [list(map(int, input().split())) for _ in range(n)] xy [list(map(int, input().split())) for _ in range(n)] ans = 0 ans 0 for i in xy:
    if (i[0]**2 + i[1]**2)**(1/2) <= d:
        ans += 1 i xy if (i[0]**2 + i[1]**2)**(1/2) <= d:
        ans += 1 (i[0]**2 + i[1]**2)**(1/2) <= d (i[0]**2 + i[1]**2)**(1/2) i[0]**2 + i[1]**2 i[0]**2 i[0] i 0 2 i[1]**2 i[1] i 1 2 1/2 1 2 d ans += 1 ans 1 print(ans) print ans d = map(int, input().split()) map(int, input().split()) d xy = [list(map(int, input().split())) for _ in range(n)] [list(map(int, input().split())) for _ in range(n)] xy ans += 1 1 ans ans = 0 0 ans n, d = map(int, input().split()) map(int, input().split()) n
n, d = map(int, input().split())
xy = [list(map(int, input().split())) for _ in range(n)]

ans = 0
for i in xy:
    if (i[0]**2 + i[1]**2)**(1/2) <= d:
        ans += 1
print(ans)
