Buggy python submission (verdict: Runtime Error):
N,D= map(int, input().split())
xy = [map(int, input().split()) for i in range(N)]
x,y= [list(i) for i in zip(*xy)]

def f(x,y,D):
  s=0
  for i in range(N)
  　　if (x[i]*x[i] + y[i]*y[i])<= D*D:
     　　s=s+1
  return s

print(f(x,y,D))

Fixed submission:
N,D = map(int, input().split())
XY = [map(int, input().split()) for _ in range(N)]
X,Y = [list(i) for i in zip(*XY)]

s=0
for i in range (N):
  if X[i]*X[i]+Y[i]*Y[i]<=D*D:
    s=s+1
print(s)

Buggy python submission (verdict: Runtime Error):
N,D= map(int, input().split())
xy = [map(int, input().split()) for _ in range(N)]
x, y = [list(i) for i in zip(*xy)]

def f(x,y,D):
  s=0
  for i in range(N)
  　　if (x[i]*x[i] + y[i]*y[i])<= D*D:
     　　s=s+1
  return s

print(s)

Fixed submission:
N,D = map(int, input().split())
XY = [map(int, input().split()) for _ in range(N)]
X,Y = [list(i) for i in zip(*XY)]

s=0
for i in range (N):
  if X[i]*X[i]+Y[i]*Y[i]<=D*D:
    s=s+1
print(s)

Buggy python submission (verdict: Runtime Error):
N,D= map(int, input().split())
xy = [map(int, input().split()) for _ in range(N)]
x, y = [list(i) for i in zip(*xy)]

def f(x,y,D):
  s=0
  for i in range(N)
  　　if (a[i]*a[i] + b[i]*b[i])<= c*c:
     　　s=s+1
  return s

print(s)

Fixed submission:
N,D = map(int, input().split())
XY = [map(int, input().split()) for _ in range(N)]
X,Y = [list(i) for i in zip(*XY)]

s=0
for i in range (N):
  if X[i]*X[i]+Y[i]*Y[i]<=D*D:
    s=s+1
print(s)

Buggy python submission (verdict: Runtime Error):
N,D= map(int, input().split())
xy = [map(int, input().split()) for _ in range(N)]
x, y = [list(i) for i in zip(*xy)]

def f(a,b,c):
  s=0
  for i in range(N)
  　　if (a[i]**2 + b[i]**2)**(1/2)<= c:
     　　s=s+1
  return s
a = x
b = y
c = D
print(f(a,b,c))

Fixed submission:
N,D = map(int, input().split())
XY = [map(int, input().split()) for _ in range(N)]
X,Y = [list(i) for i in zip(*XY)]

s=0
for i in range (N):
  if X[i]*X[i]+Y[i]*Y[i]<=D*D:
    s=s+1
print(s)

Buggy python submission (verdict: Runtime Error):
N,D= map(int, input().split())
X,Y=[map(int, input().split() for i in range(N))]

def f(a,b,c):
  s=0
  for i in range(N)
  　　if (a[i]**2 + b[i]**2)**(1/2)<= c:
     　　s=s+1
  return s
a = X
b = Y
c = D
print(f(a,b,c))

Fixed submission:
N,D = map(int, input().split())
XY = [map(int, input().split()) for _ in range(N)]
X,Y = [list(i) for i in zip(*XY)]

s=0
for i in range (N):
  if X[i]*X[i]+Y[i]*Y[i]<=D*D:
    s=s+1
print(s)

Buggy python submission (verdict: Runtime Error):
N,D= map(int, input().split())
X,Y=[int(input()) for i in range(N)]

def f(a,b,c):
  s=0
  for i in range(N)
  　　if (a[i]**2 + b[i]**2)**(1/2)<= c:
     　　s=s+1
  return s
a = X
b = Y
c = D
print(f(a,b,c))

Fixed submission:
N,D = map(int, input().split())
XY = [map(int, input().split()) for _ in range(N)]
X,Y = [list(i) for i in zip(*XY)]

s=0
for i in range (N):
  if X[i]*X[i]+Y[i]*Y[i]<=D*D:
    s=s+1
print(s)

Buggy python submission (verdict: Runtime Error):
n,d= map(int, input().split())
x,y=[int(input()) for i in range(n)]

def f(a,b,c):
  s=0
  for i in range(N)
  　　if (a[i]**2 + b[i]**2)**(1/2)<= c:
     　　s=s+1
  return s

print(f(x,y,d))

Fixed submission:
N,D = map(int, input().split())
XY = [map(int, input().split()) for _ in range(N)]
X,Y = [list(i) for i in zip(*XY)]

s=0
for i in range (N):
  if X[i]*X[i]+Y[i]*Y[i]<=D*D:
    s=s+1
print(s)

Buggy python submission (verdict: Runtime Error):
n,d= map(int, input().split())
x,y=[int(input()) for i in range(n)]

def f(a,b):
  s=0
  for i in range(N)
  　　if (a[i]**2 + b[i]**2)**(1/2)<= d:
     　　s=s+1
  return s

print(f(x,y))

Fixed submission:
N,D = map(int, input().split())
XY = [map(int, input().split()) for _ in range(N)]
X,Y = [list(i) for i in zip(*XY)]

s=0
for i in range (N):
  if X[i]*X[i]+Y[i]*Y[i]<=D*D:
    s=s+1
print(s)

Buggy python submission (verdict: Runtime Error):
n,d= map(int, input().split())
x,y=[int(input()) for i in range(n)]

def distance_count():
  s=0
  for i in range(N)
  　　if (x[i]**2 + y[i]**2)**(1/2)<= d:
     　　s=s+1
  return s

print(distance_count(x,y))

Fixed submission:
N,D = map(int, input().split())
XY = [map(int, input().split()) for _ in range(N)]
X,Y = [list(i) for i in zip(*XY)]

s=0
for i in range (N):
  if X[i]*X[i]+Y[i]*Y[i]<=D*D:
    s=s+1
print(s)

Buggy python submission (verdict: Runtime Error):
n,d= map(int, input().split())
x,y=[int(input()) for i in range(n)]

def distance_count():
  s=0
  for i in range(N)
  　　if (x[i]**2 + y[i]**2)**(1/2)<= d:
     　　s=s+1
  return s
distance_count(x,y)
print(s)


Fixed submission:
N,D = map(int, input().split())
XY = [map(int, input().split()) for _ in range(N)]
X,Y = [list(i) for i in zip(*XY)]

s=0
for i in range (N):
  if X[i]*X[i]+Y[i]*Y[i]<=D*D:
    s=s+1
print(s)

Buggy python submission (verdict: Runtime Error):
n,d= map(int, input().split())
x,y=[int(input()) for i in range(n)]
s=0
def distance_count():
  
  for i in range(N)
  　　if (x[i]**2 + y[i]**2)**(1/2)<= d:
     　　s=s+1
  return s
distance_count(x,y)
print(s)

Fixed submission:
N,D = map(int, input().split())
XY = [map(int, input().split()) for _ in range(N)]
X,Y = [list(i) for i in zip(*XY)]

s=0
for i in range (N):
  if X[i]*X[i]+Y[i]*Y[i]<=D*D:
    s=s+1
print(s)

Buggy python submission (verdict: Runtime Error):
n,d= map(int, input().split())
x,y=[int(input()) for i in range(n)]
s=0
def distance_count():
  
  for i in range(N)
  　　if (x[i]**2 + y[i]**2)**(1/2)<= D :
     　　s=s+1
  return s
answer = distance_count(x,y)
print(answer)

Fixed submission:
N,D = map(int, input().split())
XY = [map(int, input().split()) for _ in range(N)]
X,Y = [list(i) for i in zip(*XY)]

s=0
for i in range (N):
  if X[i]*X[i]+Y[i]*Y[i]<=D*D:
    s=s+1
print(s)

Buggy python submission (verdict: Runtime Error):
n,d= map(int, input().split())
x,y=[int(input()) for i in range(n)]
s=0
def distance_count():
  
  for i in range(N)
  if (x[i]**2 + y[i]**2)**(1/2)<= D :
          s=s+1
   return s
answer = distance_count(x,y)
print(answer)

Fixed submission:
N,D = map(int, input().split())
XY = [map(int, input().split()) for _ in range(N)]
X,Y = [list(i) for i in zip(*XY)]

s=0
for i in range (N):
  if X[i]*X[i]+Y[i]*Y[i]<=D*D:
    s=s+1
print(s)

Buggy python submission (verdict: Runtime Error):
N,D= map(int, input().split())
x,y=[int(input()) for i in range(N)]
s=0
def distance_count():
  for i in range(N)
      if (x[i]**2 + y[i]**2)**(1/2)<= D :
          s=s+1
    return s
answer = distance_count(x,y)
print(answer)

Fixed submission:
N,D = map(int, input().split())
XY = [map(int, input().split()) for _ in range(N)]
X,Y = [list(i) for i in zip(*XY)]

s=0
for i in range (N):
  if X[i]*X[i]+Y[i]*Y[i]<=D*D:
    s=s+1
print(s)

Buggy python submission (verdict: Runtime Error):
point=[ list(map(int,input().split())) for i range (N)]
D=input()
def distance():
  s=0
  for i in range(N)
      if (point[i][0]**2+point[i][1]**2)**(1/2)<=int(D):
          s=s+1
    return s
answer = distance(point)
print(answer)

Fixed submission:
N,D = map(int, input().split())
XY = [map(int, input().split()) for _ in range(N)]
X,Y = [list(i) for i in zip(*XY)]

s=0
for i in range (N):
  if X[i]*X[i]+Y[i]*Y[i]<=D*D:
    s=s+1
print(s)