n,d,*a=map(int,open(0).read().split())
print(sum((a[i]**2+a[-~i]**2)**0.5<=d for i in range(0,n*2,2))) n,d,*a=map(int,open(0).read().split()) n map(int,open(0).read().split()) map int open(0).read().split() (0).read().split (0).read() (0).read (0) open 0 read split d *a a print(sum((a[i]**2+a[-~i]**2)**0.5<=d for i in range(0,n*2,2))) print sum((a[i]**2+a[-~i]**2)**0.5<=d for i in range(0,n*2,2)) sum (a[i]**2+a[-~i]**2)**0.5<=d (a[i]**2+a[-~i]**2)**0.5 a[i]**2+a[-~i]**2 a[i]**2 a[i] a i 2 a[-~i]**2 a[-~i] a -~i ~i i 2 0.5 d n,d,*a=map(int,open(0).read().split()) map(int,open(0).read().split()) n d,*a=map(int,open(0).read().split()) map(int,open(0).read().split()) d
n,d,*a=map(int,open(0).read().split())
print(sum((a[i]**2+a[-~i]**2)**0.5<=d for i in range(0,n*2,2)))