N, D = map(int, input().split())
Zn = [list(map(int, input().split())) for _ in range(N)]
ans = 0
for Z in Zn:
    X, Y = Z
    if (X**2 + Y**2 <= D**2):
        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 Zn = [list(map(int, input().split())) for _ in range(N)] Zn [list(map(int, input().split())) for _ in range(N)] ans = 0 ans 0 for Z in Zn:
    X, Y = Z
    if (X**2 + Y**2 <= D**2):
        ans += 1 Z Zn X, Y = Z X Z Y if (X**2 + Y**2 <= D**2):
        ans += 1 X**2 + Y**2 <= D**2 X**2 + Y**2 X**2 X 2 Y**2 Y 2 D**2 D 2 ans += 1 ans 1 print(ans) print ans ans += 1 1 ans Y = Z Z Y D = map(int, input().split()) map(int, input().split()) D N, D = map(int, input().split()) map(int, input().split()) N ans = 0 0 ans X, Y = Z Z X Zn = [list(map(int, input().split())) for _ in range(N)] [list(map(int, input().split())) for _ in range(N)] Zn
N, D = map(int, input().split())
Zn = [list(map(int, input().split())) for _ in range(N)]
ans = 0
for Z in Zn:
    X, Y = Z
    if (X**2 + Y**2 <= D**2):
        ans += 1
print(ans)