n, d = [int(s) for s in input().split()]
d2 = d ** 2
ans = 0
for _ in range(n):
    x, y = [int(s) for s in input().split()]
    if x ** 2 + y ** 2 <= d2:
        ans += 1
print(ans) int(s) for s in input().split() for s in input().split() s input().split() ().split () input split for s in input().split() int(s) int s n, d = [int(s) for s in input().split()] n [int(s) for s in input().split()] d d2 = d ** 2 d2 d ** 2 d 2 ans = 0 ans 0 for _ in range(n):
    x, y = [int(s) for s in input().split()]
    if x ** 2 + y ** 2 <= d2:
        ans += 1 _ range(n) range n int(s) for s in input().split() for s in input().split() s input().split() ().split () input split for s in input().split() int(s) int s x, y = [int(s) for s in input().split()] x [int(s) for s in input().split()] y if x ** 2 + y ** 2 <= d2:
        ans += 1 x ** 2 + y ** 2 <= d2 x ** 2 + y ** 2 x ** 2 x 2 y ** 2 y 2 d2 ans += 1 ans 1 print(ans) print ans n, d = [int(s) for s in input().split()] [int(s) for s in input().split()] n ans += 1 1 ans ans = 0 0 ans y = [int(s) for s in input().split()] [int(s) for s in input().split()] y d = [int(s) for s in input().split()] [int(s) for s in input().split()] d d2 = d ** 2 d ** 2 d2 x, y = [int(s) for s in input().split()] [int(s) for s in input().split()] x
n, d = [int(s) for s in input().split()]
d2 = d ** 2
ans = 0
for _ in range(n):
    x, y = [int(s) for s in input().split()]
    if x ** 2 + y ** 2 <= d2:
        ans += 1
print(ans)