import numpy as np
N, D = map(int, input().split())
p = np.array([list(map(int, input().split())) for i in range(N)])
dis = np.sqrt(p[:, 0]**2 + p[:, 1]**2)

print((dis <= D).sum())
 import numpy as np numpy N, D = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split D list(map(int, input().split())) for i in range(N) for i in range(N) i range(N) range N for i in range(N) list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split p = np.array([list(map(int, input().split())) for i in range(N)]) p np.array([list(map(int, input().split())) for i in range(N)]) np.array np array [list(map(int, input().split())) for i in range(N)] dis = np.sqrt(p[:, 0]**2 + p[:, 1]**2) dis np.sqrt(p[:, 0]**2 + p[:, 1]**2) np.sqrt np sqrt p[:, 0]**2 + p[:, 1]**2 p[:, 0]**2 p[:, 0] p : 2 p[:, 1]**2 p[:, 1] p : 2 print((dis <= D).sum()) print (dis <= D).sum() dis <= D).sum dis <= D dis D sum N, D = map(int, input().split()) map(int, input().split()) N D = map(int, input().split()) map(int, input().split()) D p = np.array([list(map(int, input().split())) for i in range(N)]) np.array([list(map(int, input().split())) for i in range(N)]) p dis = np.sqrt(p[:, 0]**2 + p[:, 1]**2) np.sqrt(p[:, 0]**2 + p[:, 1]**2) dis
import numpy as np
N, D = map(int, input().split())
p = np.array([list(map(int, input().split())) for i in range(N)])
dis = np.sqrt(p[:, 0]**2 + p[:, 1]**2)

print((dis <= D).sum())

