a,b=input().split()
a=int(a)
b=int(b)
c=[input().split() for i in range(a)]
d=0
for i in range(a):
  if abs((int(c[i][0]))**2+(int(c[i][1])**2))<=b**2:
    d=d+1
print(d) a,b=input().split() a input().split() ().split () input split b a=int(a) a int(a) int a b=int(b) b int(b) int b input().split() for i in range(a) for i in range(a) i range(a) range a for i in range(a) input().split() ().split () input split c=[input().split() for i in range(a)] c [input().split() for i in range(a)] d=0 d 0 for i in range(a):
  if abs((int(c[i][0]))**2+(int(c[i][1])**2))<=b**2:
    d=d+1 i range(a) range a if abs((int(c[i][0]))**2+(int(c[i][1])**2))<=b**2:
    d=d+1 abs((int(c[i][0]))**2+(int(c[i][1])**2))<=b**2 abs((int(c[i][0]))**2+(int(c[i][1])**2)) abs (int(c[i][0]))**2+(int(c[i][1])**2) (int(c[i][0]))**2 int(c[i][0]) int c[i][0] [i] c i 0 2 int(c[i][1])**2 int(c[i][1]) int c[i][1] [i] c i 1 2 b**2 b 2 d=d+1 d d+1 d 1 print(d) print d a,b=input().split() input().split() a a=int(a) int(a) a d=d+1 d+1 d b=input().split() input().split() b b=int(b) int(b) b c=[input().split() for i in range(a)] [input().split() for i in range(a)] c d=0 0 d
a,b=input().split()
a=int(a)
b=int(b)
c=[input().split() for i in range(a)]
d=0
for i in range(a):
  if abs((int(c[i][0]))**2+(int(c[i][1])**2))<=b**2:
    d=d+1
print(d)
