let nk = readLine()!.split(separator: " ").map{Int($0)!} let (n,k) = (nk[0],nk[1]) let h = readLine()!.split(separator: " ").map{Int($0)!} var A = [[Int]]() for i in 0.. A[j][1]{ let dx = X[A[i][0]] - X[A[j][0]] let dy = Y[A[i][0]] - Y[A[j][0]] if dx*dx + dy*dy <= k*k{ f[j] = false cnt += 1 } } } } print(n-cnt)