a = input().split()
n, d = int(a[0]), int(a[1])
x = []
a = d * d
res = 0
for i in range(n):
    [x, y] = input().split()
    if int(x)**2 + int(y)**2 <= a:
        res += 1
print(res) a = input().split() a input().split() ().split () input split n, d = int(a[0]), int(a[1]) n int(a[0]) int a[0] a 0 d int(a[1]) int a[1] a 1 x = [] x [] a = d * d a d * d d d res = 0 res 0 for i in range(n):
    [x, y] = input().split()
    if int(x)**2 + int(y)**2 <= a:
        res += 1 i range(n) range n [x, y] = input().split() [x, y] x y input().split() ().split () input split if int(x)**2 + int(y)**2 <= a:
        res += 1 int(x)**2 + int(y)**2 <= a int(x)**2 + int(y)**2 int(x)**2 int(x) int x 2 int(y)**2 int(y) int y 2 a res += 1 res 1 print(res) print res a = d * d d * d a d = int(a[0]), int(a[1]) int(a[1]) d res = 0 0 res res += 1 1 res a = input().split() input().split() a x = [] [] x n, d = int(a[0]), int(a[1]) int(a[0]) n
a = input().split()
n, d = int(a[0]), int(a[1])
x = []
a = d * d
res = 0
for i in range(n):
    [x, y] = input().split()
    if int(x)**2 + int(y)**2 <= a:
        res += 1
print(res)
