[N, D] = [int(i) for i in input().split()]
count = 0
for _ in range(N):
    [a, b] = [int(i) for i in input().split()]
    if a ** 2 + b ** 2 <=  D ** 2:
        count += 1
print(count) int(i) for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() int(i) int i [N, D] = [int(i) for i in input().split()] [N, D] N D [int(i) for i in input().split()] count = 0 count 0 for _ in range(N):
    [a, b] = [int(i) for i in input().split()]
    if a ** 2 + b ** 2 <=  D ** 2:
        count += 1 _ range(N) range N int(i) for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() int(i) int i [a, b] = [int(i) for i in input().split()] [a, b] a b [int(i) for i in input().split()] if a ** 2 + b ** 2 <=  D ** 2:
        count += 1 a ** 2 + b ** 2 <=  D ** 2 a ** 2 + b ** 2 a ** 2 a 2 b ** 2 b 2 D ** 2 D 2 count += 1 count 1 print(count) print count count += 1 1 count count = 0 0 count
[N, D] = [int(i) for i in input().split()]
count = 0
for _ in range(N):
    [a, b] = [int(i) for i in input().split()]
    if a ** 2 + b ** 2 <=  D ** 2:
        count += 1
print(count)