Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Runtime Error):
#! /usr/bin/python
import sys
if sys.version_info[0] >= 3: raw_input = input

def insertion_sort(a,g):
  global cnt
  for i in range(g, len(a)):
    v = a[i]
    j = i - g
    while j >= 0 and a[j] > v:
      a[j+g] = a[j]
      j = j - g
      cnt += 1
      a[j+g] = v

def shell_sort(a):
  global cnt
  cnt = 0
  g = []
  h = 1
  while h <= len(a):
    g.append(h)
    h = 3*h + 1
  g.reverse()
  m = len(g)
  print(m)
  print(''.join(map(str, g)))
  for i in range(m):
    insertion_sort(a, g[i])

a = [int(raw_input()) for i in range(raw_input())]
shell_sort(a)
print(cnt)
for e in a: print(e)


Fixed submission:
def insertionSort(A, n, g):
    global cnt
    for i in range(g, n):
        v = A[i]
        j = i - g
        while j >= 0 and A[j] > v:
            A[j+g] = A[j]
            j = j - g
            cnt += 1
        A[j+g] = v
 
n = int(input())
A = [int(input()) for i in range(n)]
 
cnt = 0
G = [1]
for i in range(99):
    if n < 1 + 3*G[-1]:
        break
    G.append(1 + 3*G[-1])
m = len(G)
G.reverse()
for i in range(m):
    insertionSort(A, n, G[i])
 
print(m)
print(*G)
print(cnt)
print(*A, sep='\n')
Buggy python submission (verdict: Runtime Error):
n = input()
A = map(int,raw_input().split())
 print A
for j in range(1,n):
    key = A[j]
    # insert A[j] into the sorted sequence A[1,...,j-1]
    i = j - 1
    while i >= 0 and A[i] > key:
       A[i+1] = A[i]
       i -= 1
    A[i+1] = key
    print A

Fixed submission:
N = input()
A = map(int,raw_input().split())
print ' '.join(map(str,A))
for j in range(1,N):
    key = A[j]
    i = j - 1
    while i >= 0 and A[i] > key:
       A[i+1] = A[i]
       i -= 1
    A[i+1] = key
    print ' '.join(map(str,A))
Buggy python submission (verdict: Runtime Error):
a = map(int, raw_input().split())
print ' ',join(str, a.sort())

Fixed submission:
a = map(str, raw_input().split())
print ' '.join(sorted(a))

Buggy python submission (verdict: Runtime Error):
a = map(int, raw_input().split())
print ' '.join(sorted(a))

Fixed submission:
a = map(str, raw_input().split())
print ' '.join(sorted(a))
Buggy python submission (verdict: Runtime Error):
while True:
    i = input()
    if i != 0:
        print 'Case i: %d' %i
    else: False

Fixed submission:
i = 0
while True:
    x = input()
    if x != 0:
        i += 1
        print 'Case %d: %d' %(i, x)
    else: break
Buggy python submission (verdict: Runtime Error):
while True:
    a = map(str, raw_input().split())
    if a[0] != 0:
        print sorted(a)
    else: break

Fixed submission:
while 1:
    a, b = sorted(map(int, raw_input().split()))
    if a + b == 0:
        break
    else:
        print a, b

Buggy python submission (verdict: Runtime Error):
while 1:
    a, b = sorted(map(int, raw_input().split()))
    if a + b = 0:
        break
    else:
        print a, b

Fixed submission:
while 1:
    a, b = sorted(map(int, raw_input().split()))
    if a + b == 0:
        break
    else:
        print a, b
Buggy python submission (verdict: Runtime Error):
n = input()
x = {'S':[], 'H':[], 'C':[], 'D':[]}
for i in range(n):
    a = raw_input().split()
    x[a[0]].append(int(a[1]))
for key in ['s', 'H', 'C', 'D']:
    for i in range(13):
        for j in x[key]:
            if i+1 == j: break
        else: print key, i+1

Fixed submission:
n = input()
x = {'S':[], 'H':[], 'C':[], 'D':[]}
for i in range(n):
    a = raw_input().split()
    x[a[0]].append(int(a[1]))
for key in ['S', 'H', 'C', 'D']:
    for i in range(13):
        for j in x[key]:
            if i+1 == j: break
        else: print key, i+1
Buggy python submission (verdict: Runtime Error):
while 1:
    m, f, r = raw_input().split()
    sum = m + f
    if sum == -2: break
    elif min(m, f) == -1: print 'F'
    elif sum > 80: print 'A'
    elif sum > 65: print 'B'
    elif sum > 50: print 'C'
    elif sum > 30:
        if r > 50: print 'C'
        else: print 'D'
    else: print 'F'

Fixed submission:
while 1:
    m, f, r = map(int, raw_input().split())
    sum = m + f
    if sum == -2: break
    elif min(m, f) == -1: print 'F'
    elif sum >= 80: print 'A'
    elif sum >= 65: print 'B'
    elif sum >= 50: print 'C'
    elif sum >= 30:
        if r >= 50: print 'C'
        else: print 'D'
    else: print 'F'
Buggy python submission (verdict: Runtime Error):
r, c = map(int, raw_input().split())
a = [[0 for i in range(r)] for j in range(c)]
for i in range(c):
    row = map(int, raw_input().split())
    for j in range(r):
        a[i][j] = row[j]

Fixed submission:
r, c = map(int, raw_input().split())
ss = []
for i in range(r):
    ss.append(map(int, raw_input().split()))
    ss[i].append(sum(ss[i]))
    print ' '.join(map(str, ss[i]))
ss.append([])
for j in range(c+1):
    csum = 0
    for i in range(r):
        csum += ss[i][j]
    ss[r].append(csum)
print ' '.join(map(str, ss[r]))
Buggy python submission (verdict: Runtime Error):
mount = [[] for i in range(input())]
while True:
    row = raw_input().split()
    if row[0] == 'push':
        mount[int(row[1])-1].append(row[2])
    elif row[0] == 'pop':
        print mount[int(row[1])-1].pop()
    elif row[0] == 'move':
        mount[int(row[2])-1].append(mount[int(row[1])-1].pop())
    elif row[0] == 'quit':
        quit

Fixed submission:
mount = [[] for i in range(input())]
while True:
    row = raw_input().split()
    if row[0] == 'push':
        mount[int(row[1])-1].append(row[2])
    elif row[0] == 'pop':
        print mount[int(row[1])-1].pop()
    elif row[0] == 'move':
        mount[int(row[2])-1].append(mount[int(row[1])-1].pop())
    elif row[0] == 'quit':
        break
Buggy python submission (verdict: Runtime Error):
def funcs(a, b, c):
    x = int(a)
    y = int(b)
    z = int(c)

    if x < y < z:
        print("Yes")
    else:
        print("No")


tmp = input()

a, b = tmp.split(" ")

funcs(a, b)



Fixed submission:
l = list(map(int, input().split()))

if l[0] < l[1] < l[2]:
    print('Yes')
else:
    print('No')
Buggy python submission (verdict: Runtime Error):
def Hantei(a,b):
    if a <= b:
        print("{} {}".format(a,b))
    elif a > b:
        print("{} {}".format(b,a))


while True:
    a ,b=input().split()
    if (a==0)and(b==0):
        break
    Hantei(int(a),int(b))


Fixed submission:
while True:
    x, y = list(map(int, input().split()))
    if x == 0 and y == 0:
        break
    if x >= y:
        x, y = y, x
    print(x, y)

Buggy python submission (verdict: Runtime Error):
def Hantei(a,b):
    if a <= b:
        print("{} {}".format(a,b))
    elif a > b:
        print("{} {}".format(b,a))


while True:
    a ,b=input().split()
    if (a==0)and(b==0):
        break
    Hantei(int(a),int(b))


Fixed submission:
while True:
    x, y = list(map(int, input().split()))
    if x == 0 and y == 0:
        break
    if x >= y:
        x, y = y, x
    print(x, y)
Buggy python submission (verdict: Runtime Error):
import math

r = int(input())

print('{:.5f} {:.5f}'.format(math.pi*r*r, 2*math.pi*r))


Fixed submission:
import math

r = float(input())
print(math.pi * r ** 2, 2 * math.pi * r)
Buggy python submission (verdict: Runtime Error):
FirstLine = input()
myList  = list([int(i) for i in input().split()])
print(min(A),max(A),sum(A))


Fixed submission:
n = int(input())
a = list(map(int, input().split()))
print(min(a),max(a),sum(a))
Buggy python submission (verdict: Runtime Error):
def main():
    W,H,x,y,r=map(int,input().split())
    if W>=2*r AND H>=2*r AND W<=x+r AND H<=y+r:
        print('Yes')
    else:
        print('No')

if __name__=='__main__':
    main()


Fixed submission:
def main():
    W,H,x,y,r=map(int,input().split())
    if x-r>=0 and y-r>=0 and W>=x+r and H>=y+r:
        print('Yes')
    else:
        print('No')

if __name__=='__main__':
    main()

Buggy python submission (verdict: Runtime Error):
def main():
    W,H,x,y,r=map(int,input().split())
    if x-r>=0 AND y-r>=0 AND W>=x+r and H>=y+r:
        print('Yes')
    else:
        print('No')

if __name__=='__main__':
    main()


Fixed submission:
def main():
    W,H,x,y,r=map(int,input().split())
    if x-r>=0 and y-r>=0 and W>=x+r and H>=y+r:
        print('Yes')
    else:
        print('No')

if __name__=='__main__':
    main()
Buggy python submission (verdict: Runtime Error):
"""
Print Test Cases
"""

def main():
    i = 1
    while True:
        x = int(raw_input().strip())
        if x == 0:
            break
        print "Case %d: %d" % (i, x)
        i += 1

if __name__ == '__main__':
    main()


Fixed submission:
i=1
while True:
    x = int(input().strip())
    if x==0:
        break
    else:
        print('Case {0}: {1}'.format(i,x))
        i += 1
Buggy python submission (verdict: Runtime Error):
inport math

r=input().strip()
print('{0:5f} {1:5f}'.format(r**2*math.pi,2*r*math.pi)


Fixed submission:
import math

r=float(input().strip())
print('{0:5f} {1:5f}'.format(r**2*math.pi,2*r*math.pi))

Buggy python submission (verdict: Runtime Error):
import math

r=int(input().strip())
print('{0:5f} {1:5f}'.format(r**2*math.pi,2*r*math.pi))


Fixed submission:
import math

r=float(input().strip())
print('{0:5f} {1:5f}'.format(r**2*math.pi,2*r*math.pi))

Buggy python submission (verdict: Runtime Error):
import math

r=int(input().strip())
print('{0:5f} {1:5f}'.format(r**2*math.pi,2*r*math.pi))


Fixed submission:
import math

r=float(input().strip())
print('{0:5f} {1:5f}'.format(r**2*math.pi,2*r*math.pi))

Buggy python submission (verdict: Runtime Error):
import math

r=int(input())
print('{0:5f} {1:5f}'.format(r**2*math.pi,2*r*math.pi))


Fixed submission:
import math

r=float(input().strip())
print('{0:5f} {1:5f}'.format(r**2*math.pi,2*r*math.pi))
Buggy python submission (verdict: Runtime Error):
while True:
  H,W=map(int,input().split())
  for i in range(H):
      print("#"*W)
  print("\n")


Fixed submission:
while True:
  H,W=map(int,input().split())
  if H==0 and W==0:
      break
  for i in range(H):
      print("#"*W)
  print()

Buggy python submission (verdict: Runtime Error):
while True:
  H,W=map(int,input().split())
  for i in range(H):
      print("#"*W)


Fixed submission:
while True:
  H,W=map(int,input().split())
  if H==0 and W==0:
      break
  for i in range(H):
      print("#"*W)
  print()

Buggy python submission (verdict: Runtime Error):
while True:
  H,W=map(int,input().split())
  for i in range(H):
      if a==b==0:
        break
      print("#"*W)
  print("\n")


Fixed submission:
while True:
  H,W=map(int,input().split())
  if H==0 and W==0:
      break
  for i in range(H):
      print("#"*W)
  print()

Buggy python submission (verdict: Runtime Error):
while True:
  H,W=map(int,input().split())
  for i in range(H):
      if H==0:
        break
      else:
        print("#"*W)
  print("\n")


Fixed submission:
while True:
  H,W=map(int,input().split())
  if H==0 and W==0:
      break
  for i in range(H):
      print("#"*W)
  print()
Buggy python submission (verdict: Runtime Error):
while True:
  n,x=map(int,input().split())
  if n==0 and x == 0:
    break
  else:0
    if n+1 + n + n-1 <= x:
      print(0)
    else:
      cnt=0
      for i in range(1,n+1):
        for j in range(i+1,n+1):
          for k in range(j+1,n+1):
            if i+j+k==x:
              cnt+=1
print(cnt)


Fixed submission:
while True:
  N,X = map(int,input().split())
  if N==0 and X==0:
    break
  ans = 0
  for a in range(1,N+1):
    for b in range(a+1,N+1):
      if b >= N+1:
        break
      c = X-(a+b)
      if c > b and c <=N:
        ans +=1
  print("{:d}".format(ans))

Buggy python submission (verdict: Runtime Error):
while True:
  n,x=map(int,input().split())
  if n==0 and x == 0:
    break
  else:0
    if n+1 + n + n-1 <= x:
      print(0)
    else:
      cnt=0
      for i in range(1,n+1):
        for j in range(i+1,n+1):
          for k in range(j+1,n+1):
            if i+j+k==x:
              cnt+=1
print(cnt)


Fixed submission:
while True:
  N,X = map(int,input().split())
  if N==0 and X==0:
    break
  ans = 0
  for a in range(1,N+1):
    for b in range(a+1,N+1):
      if b >= N+1:
        break
      c = X-(a+b)
      if c > b and c <=N:
        ans +=1
  print("{:d}".format(ans))
Buggy python submission (verdict: Runtime Error):
from statistics import stdev
while 1:
    num = int(input())
    if num == 0:
        break
    else:
        data = list(map(int, input().split()))
        print(data)
        st = stdev(data)
        print(st)



Fixed submission:
from statistics import pstdev, variance, mean
while 1:
    num = int(input())
    if num == 0:
        break
    else:
        data = list(map(int, input().split()))
        st = float(pstdev(data))
        print(st)
Buggy python submission (verdict: Runtime Error):
while True:
    a, b = map(int, input().split())
    if a == 0 and b == 0:
        break
    if a > b:
        print(f"b a"")
    else:
        print(f"a b"")



Fixed submission:
while True:
    a, b = map(int, input().split())
    if a == 0 and b == 0:
        break
    elif a > b:
        print(f'{b} {a}')
    else:
        print(f'{a} {b}')

Buggy python submission (verdict: Runtime Error):
while True:
    a, b = map(int, input().split())
    if a == 0 and b == 0:
        break
    if a > b:
        print(f'b a")
    else:
        print(f"a b")



Fixed submission:
while True:
    a, b = map(int, input().split())
    if a == 0 and b == 0:
        break
    elif a > b:
        print(f'{b} {a}')
    else:
        print(f'{a} {b}')
Buggy python submission (verdict: Runtime Error):
count = 0
a, b, c = map(int, input().split())
for i in range(a,b)
    if i % c ==0:
        count += 1
print(f'{c}')



Fixed submission:
count = 0
a, b, c = map(int, input().split())
for i in range(a,b+1):
    if c % i == 0:
        count += 1
print(f'{count}')

Buggy python submission (verdict: Runtime Error):
count = 0
a, b, c = map(int, input().split())
for i in range(a,b)
    if c % i ==0:
        count += 1
print(f'{count}')



Fixed submission:
count = 0
a, b, c = map(int, input().split())
for i in range(a,b+1):
    if c % i == 0:
        count += 1
print(f'{count}')
Buggy python submission (verdict: Runtime Error):
a = map(int, input().split())
print(f'{2 * a * 3.141592653589}')
print(f'{a * a * 3.141592653589}')



Fixed submission:
r = float(input())
p = 3.141592653589
print(p*r*r, 2*p*r)

Buggy python submission (verdict: Runtime Error):
a = map(int, input().split())
print(f'{2 * a * 3.1415926}')
print(f'{a * a * 3.1415926}')



Fixed submission:
r = float(input())
p = 3.141592653589
print(p*r*r, 2*p*r)

Buggy python submission (verdict: Runtime Error):
a = map(int, input().split())
print(f'{a * a * 3.1415926}')
print(f'{2 * a * 3.1415926}')



Fixed submission:
r = float(input())
p = 3.141592653589
print(p*r*r, 2*p*r)

Buggy python submission (verdict: Runtime Error):
a = map(float, input().split())
print(f'{a * a * 3.1415926}')
print(f'{2 * a * 3.1415926}')



Fixed submission:
r = float(input())
p = 3.141592653589
print(p*r*r, 2*p*r)

Buggy python submission (verdict: Runtime Error):
a = map(float, input().split())
print(f'{a * a * 3.1415926}')
print(f'{2 * a * 3.1415926}')



Fixed submission:
r = float(input())
p = 3.141592653589
print(p*r*r, 2*p*r)

Buggy python submission (verdict: Runtime Error):
a = map(float, input().split())
print(f'{a * a * 3.1415926} {2 * a * 3.1415926}')



Fixed submission:
r = float(input())
p = 3.141592653589
print(p*r*r, 2*p*r)

Buggy python submission (verdict: Runtime Error):
a = list(map(float, input().split()))
print(f'{a * a * 3.1415926} {2 * a * 3.1415926}')



Fixed submission:
r = float(input())
p = 3.141592653589
print(p*r*r, 2*p*r)
Buggy python submission (verdict: Runtime Error):
while True:
    a, op, b = input().split()  # 3変数ともに文字列として読み込む
    a = int(a)  # a を整数に変換
    b = int(b)  # b を整数に変換
    if op == ?:
        break
    else:
        print(f'a op b')



Fixed submission:
while True:
    a, op, b = input().split()  # 3変数ともに文字列として読み込む
    a = int(a)  # a を整数に変換
    b = int(b)  # b を整数に変換
    if op == '?':
        break
    elif op == '+':
        print("%d"%(a+b))
    elif op == '-':
        print("%d"%(a-b))
    elif op == '/':
        print("%d"%(a/b))
    else:
        print("%d"%(a*b))
Buggy python submission (verdict: Runtime Error):
date1,date2 = list(map(int, input().split()))
a = min(date1)   # 2
b = max(date1)   # 50
c = sum(date1)   # 256
print(f'{a}')
print(f'{b}')
print(f'{c}')



Fixed submission:
n = input()
lst = list(map(int, input().split()))
print(min(lst), max(lst), sum(lst))

Buggy python submission (verdict: Runtime Error):
date1,date2 = list(map(int, input().split()))
a = min(date1)
b = max(date1)
c = sum(date1)
print(a)
print(b)
print(c)



Fixed submission:
n = input()
lst = list(map(int, input().split()))
print(min(lst), max(lst), sum(lst))

Buggy python submission (verdict: Runtime Error):
date1,date2 = list(map(int, input().split()))
a = min(date1)
b = max(date1)
c = sum(date1)
print(a b c)



Fixed submission:
n = input()
lst = list(map(int, input().split()))
print(min(lst), max(lst), sum(lst))
Buggy python submission (verdict: Runtime Error):
while True:
    if a == 0 and b ==0:
        break
    else:
        a, b = map(int, input().split())
        for j in range(a):
            for i in range(b):
                print("#", end="")
            print()


Fixed submission:
while True:
    H, W = map(int, input().split())
    if H == 0 and W == 0:
        break
    for i in range(H):
        print("#" * W)
    print()

Buggy python submission (verdict: Runtime Error):
i,j = 0
while True:
    a, b = map(int, input().split())
    if a == 0 and b ==0:
        break
    for j in range(a+1):
        for i in range(b+1):
            print("#", end="")
        print()


Fixed submission:
while True:
    H, W = map(int, input().split())
    if H == 0 and W == 0:
        break
    for i in range(H):
        print("#" * W)
    print()
Buggy python submission (verdict: Runtime Error):
while True:
    H, W = map(int, input().split())
    if H == 0 and W == 0:
        break
    for i in range(H):
        if i != 0 or i != H-1:
            print("#"+"." * (W-2)+"#")
        else print("#" * W)
    print()


Fixed submission:
while True:
    H,W = map(int,input().split())
    if H==W==0:
        break;
    print("#"*W)
    for i in range(0,H-2):
        print("#"+"."*(W-2)+"#")
    print("#"*W)
    print()

Buggy python submission (verdict: Runtime Error):
while True:
        H, W = map(int, input().split())
    if H == 0 and W == 0:
        break
    print("#" * W)
    for i in range(H-2):
        print("#"+"."*(W-2)+"#")
    print("#" * W)
    print()


Fixed submission:
while True:
    H,W = map(int,input().split())
    if H==W==0:
        break;
    print("#"*W)
    for i in range(0,H-2):
        print("#"+"."*(W-2)+"#")
    print("#"*W)
    print()

Buggy python submission (verdict: Runtime Error):
while True:
        H,W = map(int,input().split())
    if H==W==0:
            break;
    print("#"*W)
    for i in range(0,H-2):
            print("#"+"."*(W-2)+"#")
    print("#"*W)
    print()


Fixed submission:
while True:
    H,W = map(int,input().split())
    if H==W==0:
        break;
    print("#"*W)
    for i in range(0,H-2):
        print("#"+"."*(W-2)+"#")
    print("#"*W)
    print()
Buggy python submission (verdict: Runtime Error):
while True:
    H,W = map(int,input().split())
    if H==W==0:
        break;
    for i in range(0,H):
       if i % 2 == 1:
           for j in range(0,W):
               if j % 2 == 1:
                   print("#")
               if j % 2 == 0:
                   print(".")
        if i % 2 ==0:
            for i in range(0,W):
                if j % 2 == 1:
                    print(".")
                if j % 2 == 0:
                    print("#")
    print()


Fixed submission:
while True:
    H,W = map(int,input().split())
    if H==W==0:
        break
    for i in range(H):
        for k in range(W):
            if (i+k)%2 == 0:
                print("#",end = "")
            else:
                print(".",end = "")
        print()
    print()

Buggy python submission (verdict: Runtime Error):
while True:
    H,W = map(int,input().split())
    if H==W==0:
        break;
    for i in range(0,H):
       if i % 2 == 1:
           for j in range(0,W):
               if j % 2 == 1:
                   print("#")
               if j % 2 == 0:
                   print(".")
        if i % 2 ==0:
            for j in range(0,W):
                if j % 2 == 1:
                    print(".")
                if j % 2 == 0:
                    print("#")
    print()


Fixed submission:
while True:
    H,W = map(int,input().split())
    if H==W==0:
        break
    for i in range(H):
        for k in range(W):
            if (i+k)%2 == 0:
                print("#",end = "")
            else:
                print(".",end = "")
        print()
    print()
Buggy python submission (verdict: Time Limit Exceeded):
num = int(input())
taro, hanako = 0 ,0
for i in range(num):
    lst = list(map(str, input().split()))
    while 1:
        j = 0
        if lst[0] == lst[1]:
            taro = taro + 1
            hanako = hanako + 1
            break
        else:
            first = ord(lst[0][j:j+1])
            second = ord(lst[1][j:j+1])
            if first > second:
                taro = taro + 3
                break
            elif first < second:
                hanako = hanako + 3
                break
print(str(taro) + " " + str(hanako))


Fixed submission:
taro = hanako = 0
for i in range(int(input())):
    lst = list(map(str, input().split()))
    while 1:
        if lst[0] == lst[1]:
            taro = taro + 1
            hanako = hanako + 1
            break
        else:
            length = min(len(lst[0]),len(lst[1]))
            for j in range(length):
                first = ord(lst[0][j:j+1])
                second = ord(lst[1][j:j+1])
                if first > second:
                    taro = taro + 3
                    break
                elif first < second:
                    hanako = hanako + 3
                    break
                elif j == length - 1:
                    if len(lst[0]) > len(lst[1]):
                        taro = taro + 3
                    elif len(lst[0]) < len(lst[1]):
                        hanako = hanako + 3
                    break
            break
print(str(taro) + " " + str(hanako))
Buggy python submission (verdict: Runtime Error):
a,b = map(int,input().split())
 
if a > b:
    op = '>'
elif a < b:
    op = '<'
else:
    op = '=='
 
print("a %s b"%op)


Fixed submission:
x = input().split()
a, b = int(x[0]), int(x[1])
if a < b:
    print('a < b')
elif a > b:
    print('a > b')
else:
    print('a == b')
Buggy python submission (verdict: Runtime Error):
a,b,c = map(int,input().split())
count = 0
for i in range(a:b-1):
    if c % i == 0:
        count +=1
    print(count)


Fixed submission:
a,b,c = map(int,input().split())
count = 0
for i in range(a,b+1):
    if c % i == 0:
        count +=1
print(count)

Buggy python submission (verdict: Runtime Error):
a,b,c = map(int,input().split())
count = 0
for i in range(a:b+1):
    if c % i == 0:
        count +=1
    print(count)


Fixed submission:
a,b,c = map(int,input().split())
count = 0
for i in range(a,b+1):
    if c % i == 0:
        count +=1
print(count)

Buggy python submission (verdict: Runtime Error):
a,b,c = map(int,input().split())
count = 0
for i in range(a:b+1):
    if c % i == 0:
        count +=1
print(count)


Fixed submission:
a,b,c = map(int,input().split())
count = 0
for i in range(a,b+1):
    if c % i == 0:
        count +=1
print(count)