qyliang/CodeNanoFix huggingface dataset:
Buggy code:
from collections import deque
from heapq import heappush,heappop
import re

def int_raw():
    return int(input())

def ss_raw():
    return input().split()

def ints_raw():
    return list(map(int, ss_raw()))

INF = 1<<29

A,B = ints_raw()

def main():
        if A>=13:
                print(B)
        if A<=5:
                print(0)
        else:
                print(B//2)

main()


Fixed code:
from collections import deque
from heapq import heappush,heappop
import re

def int_raw():
    return int(input())

def ss_raw():
    return input().split()

def ints_raw():
    return list(map(int, ss_raw()))

INF = 1<<29

A,B = ints_raw()

def main():
        if A>=13:
                print(B)
        elif A<=5:
                print(0)
        else:
                print(B//2)

main()
Buggy code:
a,b=map(int,input().split())
if a>=13:
  print(b)
elif a<13 and a>=6
  print(b//2)
else:
  print(0)

Fixed code:
a, b = map(int, input().split())

if a >= 13:
  print(b)
elif a >= 6:
  print(b//2)
else:
  print(0)
Buggy code:
a, b = map(int, input().split())
if a >= 13:
    print(b)
elif a > 5:
    print(b/2)
else:
    print(0)

Fixed code:
a, b = map(int, input().split())
if a >= 13:
    print(b)
elif a > 5:
    print(b//2)
else:
    print(0)
Buggy code:
A,B=map(int,input().split())
if A>=13:
  print(B)
if 6<=A<=12:
  print(B/2)
if A<=5:
  print(0)

Fixed code:
A,B=map(int,input().split())
if A>=13:
  print(B)
if 6<=A<=12:
  print(int(B/2))
if A<=5:
  print(0)
Buggy code:
hoge = input().split()
a = int(hoge[0])
b = int(hoge[1])
if a >= 13:
  print(b)
elif a >= 6 or a <= 12:
  print(b/2)
else:
  print(0)

Fixed code:
hoge = input().split()
a = int(hoge[0])
b = int(hoge[1])
if a >= 13:
  print(b)
elif a >= 6 and a <= 12:
  print(int(b/2))
else:
  print(0)
Buggy code:
a, b = map(int, input().split())
if a <= 5:
    print(0)
elif 6 <= a <= 12:
    print(b / 2)
else:
    print(b)

Fixed code:
a, b = map(int, input().split())
if a <= 5:
    print(0)
elif 6 <= a <= 12:
    print(int(b / 2))
else:
    print(b)
Buggy code:
a, b = map(int, input().split())

if a <= 5:
    print(0)
elif a <= 12:
    print(b/2)
else:
    print(b)

Fixed code:
a, b = map(int, input().split())

if a <= 5:
    print(0)
elif a <= 12:
    print(b//2)
else:
    print(b)
Buggy code:
a,b=map(int, input().split())
if a>=13:
  c=b
elif a>=6:
  c=b/2
else:
  c=0
print(c)

Fixed code:
a,b=map(int, input().split())
if a>=13:
  c=b
elif a>=6:
  c=b/2
else:
  c=0
print(int(c))
Buggy code:
A, B = map(int, input().split())
if A >= 13:
  print(B)
elif 6 <= A and A <= 12:
  print(B / 2)
else:
  print(0)

Fixed code:
A,B = map(int, input().split())

ans = B
if A>= 13:
  print(ans)
elif A>=6 and A<=12:
  ans = B//2
  print(ans)
elif A<6:
  ans = 0
  print(ans)
Buggy code:
a,b = map(int,input().split())
if a >= 13:
	print(b)
elif a > 5:
	print(b / 2)
else:print(0)

Fixed code:
a, b = map(int, input().split())

if a >= 13:
    print(b)
elif a > 5:
    print(int(b/2))
else:
    print(0)
Buggy code:
A,B=map(int,input().split())
if A<=5:
  ret=0
elif A>=13:
  ret=B
else:
  ret=B/2

Fixed code:
A,B=map(int,input().split())
if A<=5:
  ret=0
elif A>=13:
  ret=B
else:
  ret=B//2
print(ret)
Buggy code:
a,b = map(int,input().split())
if a >12:print(b)
else if a <6:print(b//2)
else: print(0)

Fixed code:
a,b = map(int,input().split())
if a >= 13:
         print(b)
elif 6 <= a <= 12:
         print(b//2)
else:
         print(0)
Buggy code:
a, b = map(int, input().split())

if a <= 5:
	res = 0
elif a >5 & a <= 12:
	res = b/2
else:
	res = b

print(b)

Fixed code:
a, b = map(int, input().split())

if a <= 5:
	res = 0
elif a > 5 and a <= 12:
	res = int(b/2)
else:
	res = b

print(res)
Buggy code:
a,b = map(int,input().split())
if a >12:print(b)
elif a <6:print(b//2)
else: print(0)

Fixed code:
a,b=map(int,input().split())
if a<=5:
    print(0)
elif 6<=a<=12:
    print(b//2)
else:
    print(b)
Buggy code:
#Ferris Wheel
A,B = map(int,input().split())
if A >= 13:
    print(B)
if 6 <= A <=12:
    print(B/2)
if 5 >= A:
    print(0)

Fixed code:
#Ferris Wheel
A,B = map(int,input().split())
if A >= 13:
    print(B)
if 6 <= A <=12:
    print(B//2)
if 5 >= A:
    print(0)
Buggy code:
age, price = map(int, input().split())
if age <= 5:
    print(0)
elif age <= 12:
    print(age // 2)
else:
    print(age)

Fixed code:
age, price = map(int, input().split())
if age <= 5:
    print(0)
elif age <= 12:
    print(price // 2)
else:
    print(price)
Buggy code:
A,B = map(int, input().split())
if 13 <= A:
  print(B)
elif 6 <= A:
  print(B / 2)
else:
  print(0)

Fixed code:
A,B = map(int,input().split())
if A >= 13:
  print(B)
elif A >= 6:
  print(B // 2)
else:
  print(0)
Buggy code:
def main():
    a, b = map(int, input().split())

    price = a

    if 6 <= b <= 12:
        price /= 2
    elif 5 >= b:
        price = 0

    print(price)

if __name__ == '__main__':
    main()

Fixed code:
def main():
    a, b = map(int, input().split())

    price = b

    if 6 <= a <= 12:
        price //= 2
    elif 5 >= a:
        price = 0

    print(price)

if __name__ == '__main__':
    main()
Buggy code:
a,b=map(int,input().split())

if a <= 5:
    print(0)
elif 6<= a >= 12:
    print(b//2)
else:
    print(b)

Fixed code:
a,b=map(int,input().split())

if a <= 5:
    print(0)
elif 6 <= a <= 12:
    print(b//2)
else:
    print(b)
Buggy code:
def main():
    a,b = [int(x) for x in input().split()]

    ans= 0
    if a >= 13:
        ans += b
    elif a >= 6:
        ans = b/2
    else:
        pass
    print(ans)


if __name__ == '__main__':
    main()


Fixed code:
def main():
    a,b = [int(x) for x in input().split()]

    ans= 0
    if a >= 13:
        ans += b
    elif a >= 6:
        ans = b/2
    else:
        pass
    print(int(ans))


if __name__ == '__main__':
    main()
Buggy code:
a,b=map(int, input().split())
if a>=13:
    print(b)
elif a>=6:
    print(b/2)
else:
    print(0)

Fixed code:
a,b=map(int, input().split())
if a>=13:
        print(b)
elif a>=6:
        print(b//2)
else:
        print(0)
Buggy code:
def main():
    a, b = map(int, input().split())

    if a < 6:
        print(0)
    elif a < 13:
        print(b/2)
    else:
        print(b)
    



if __name__ == "__main__":
    main()

Fixed code:
def main():
    a, b = map(int, input().split())

    if a < 6:
        print(0)
    elif a < 13:
        print(int(b/2))
    else:
        print(b)
    



if __name__ == "__main__":
    main()
Buggy code:
a, b = map(int, input().split())
if a >= 13:
    print(b)
elif a >=6 and a <=12:
    print(b/2)
else:
    print("0")

Fixed code:
a,b = map(int,input().split())
if a >= 13:
    print(b)
elif 12>=a and a>=6:
    print(b//2)
else:
    print(0)
Buggy code:
A, B = map(int,input().split())
ans = 0
if A >= 13:
  ans = B
elif A >= 6:
  ans = B/2
else:
  ans = 0

print(ans)

Fixed code:
A,B = map(int,input().split())
if A >= 13:
    print(B)
elif A >= 6:
    print(int(B/2))
else:
    print(0)
Buggy code:
A,B=map(int,input().split())
ans=0
if A<=5:
    ans=0
elif A<=12:
    ans=B/2
else:
    ans=B

print(ans)

Fixed code:
A,B=map(int,input().split())
ans=0

if A<=5:
    ans=0
elif A<=12:
    ans=int(B/2)
else:
    ans=B

print(ans)
Buggy code:
a, b = map(int, input().split())
if a >= 13:
    print(b)
elif a >=6 and a < 13:
    print(b/2)
else:
    print("0")


Fixed code:
a,b = map(int,input().split()) 
if (a >= 6) and (a <= 12):
	print(b//2)
elif a >= 13:
  	print(b)
else:
  	print(0)
Buggy code:


v = [int(d) for d in input().split()]

if v[0] <= 12:
    if v[0] >= 6:
        print(v[1]/2)
        exit()
if v[0] <= 5:
    print('0')
    exit()
if v[0] >= 13:
    print(v[1])
    exit()

Fixed code:


v = [int(d) for d in input().split()]

if v[0] <= 12:
    if v[0] >= 6:
        print(int(v[1]/2))
        exit()
if v[0] <= 5:
    print('0')
    exit()
if v[0] >= 13:
    print(v[1])
    exit()
Buggy code:
#ABC127A/Ferris_Wheel
def main():
    a,b = map(int,input().split())

    if(a >= 13):
        print(b)
    elif(12 >= a >= 6):
        print(b/2)
    else:
        print("0")
main()

Fixed code:
#ABC127A/Ferris_Wheel
def main():
    a,b = map(int,input().split())

    if(a >= 13):
        print(b)
    elif(12 >= a >= 6):
        print(int(b/2))
    else:
        print("0")
main()
Buggy code:
A,B = map(int,input().split())
if A>=13 :
  print(B)
elif A >=6 and A<=12:
  print(B//2)
 else:
  print(0)

Fixed code:
A, B = map(int,input().split())
if A > 12:
    print(B)
elif 6 <= A and A <= 12:
    print(int(B/2))
else:
    print(0)
Buggy code:
a,b=map(int,input().split())
if a>=13:print(b)
elif a>=6:print(b//2)
print(0)

Fixed code:
a,b=map(int,input().split())
if a>=13:
        print(b)
elif a>=6:
        print(int(b/2))
else:
        print(0)
Buggy code:
r,d,x=map(int, input().split())
ans=x
for i in range(1,10):
    ans=r*ans-d
    print(ans)

Fixed code:
r,d,x=map(int, input().split())
ans=x
for i in range(1,11):
    ans=r*ans-d
    print(ans)
Buggy code:
r, d, x0 = map(int,input().split())

def mo(i):
    if i == 0:
        return x0
    return r*mo(i-1) - d 

for i in range(1,10):
    print(mo(i))

Fixed code:
r, d, x0 = map(int,input().split())

def mo(i):
    if i == 0:
        return x0
    return r*mo(i-1) - d 

for i in range(1,11):
    print(mo(i))
Buggy code:
r,d,x=map(int,input().split())
for x in range(1,10):
  x=r*x-d
  print(x)

Fixed code:
r,d,x = map(int,input().split())
for i in range(10):
  x = r*x-d
  print(int(x))
Buggy code:
r,D,x = map(int,input().split())

tmp = r * x - D
print(tmp)

for i in range(1 to 10):
  tmp = tmp * x - D
  print(temp)

Fixed code:
r,D,x = map(int,input().split())
 
tmp = r * x - D
print(tmp)
 
for i in range(1 , 10):
  tmp = tmp * r - D
  print(tmp)
Buggy code:
r,d,x=map(int,input().split())
for i in range(1,10):
  x=r*x-d
  print(x)

Fixed code:
r,d,x=map(int,input().split())
for i in range(0,10):
  x=r*x-d
  print(x)
Buggy code:
r, D, x = map(int, input().split())
def mo(r, D, x, i):
  out = rx - D
  print(int(out))
  if i<9:
  	return mo(r, D, out, i+1)
  else:
    return 0
  
  mo(r, D, x, 0)

Fixed code:
r, D, x = map(int, input().split())
def mo(r, D, x, i):
  out = r*x - D
  print(int(out))
  if i<9:
  	return mo(r, D, out, i+1)
  else:
    return 0
  
mo(r, D, x, 0)
Buggy code:
r,d,x=map(int,input().split())
print(x for _ in range(10) x=r*x-d)

Fixed code:
r,d,x = map(int,input().split())
for _ in range(10):
  x = r*x-d
  print(x)
Buggy code:
r, D, x_2000= map(int, input().split(' '))
xs = [x_2000]
for x in range(10):
	xs.append(r*xs[len(xs)-1]-D)
print('\n'.join(map(str, xs)))

Fixed code:
r, D, x_2000= map(int, input().split(' '))
xs = [x_2000]
for x in range(10):
	xs.append(r*xs[len(xs)-1]-D)
xs.pop(0)
print('\n'.join(map(str, xs)))
Buggy code:
l=list(map(int,input().split()))
r=l[0]
D=l[1]
x=l[2]
t=[x]
for i in t:
  m=i*r-D
  t.append(m)
  if(len(t)=11):
    break
for p in t[1:]:
	print(p)


Fixed code:
l=list(map(int,input().split()))
r=l[0]
D=l[1]
x=l[2]
t=[x]
for i in t:
  m=i*r-D
  t.append(m)
  if(len(t)==11):
    break
for p in t[1:]:
	print(p)
Buggy code:
a, b, c = list(map(int, input().split()))

for i in range(1,11):
    c *= a
    e = c - b
    print(e)

Fixed code:
a, b, c = map(int, input().split())
for i in range(1, 11):
    c = a * c - b
    print(c)
Buggy code:
r,D,x=map(int,input().split())
for i in range(10):
  print(x)
  x=r*x-D
print(x)

Fixed code:
r,d,x=map(int,input().split())
for i in range(10):
    x=x*r-d
    print(x)
Buggy code:
r,d,x=map(int,input().split())
for i in range(10):
	x=x*r-d
print(x)	






Fixed code:
r, D, x=map(int, input().split())
for i in range(10):
    print(r*x-D)
    x=r*x-D
Buggy code:
a,b,c=input().split()
a=int(a)
b=int(b)
c=int(c)
d=c
while i<10:
d=a*d-b
print(d)
i=i+1

Fixed code:
a,b,c=input().split()
a=int(a)
b=int(b)
c=int(c)
i=0
while i<10:
  i=i+1
  c=a*c-b
  print(c)
Buggy code:
import sys
r, D, x2000 = map(int, sys.stdin.readline().split())
x2001 = r * x2000 - D
x2002 = r * x2001 - D
x2003 = r * x2002 - D
x2004 = r * x2003 - D
x2005 = r * x2004 - D
x2006 = r * x2005 - D
x2007 = r * x2006 - D
x2008 = r * x2007 - D
x2009 = r * x2008 - D
x2010 = r * x2009 - D
print(x2001)
print(x2002)
print(x2003)
print(x2004)
print(x2005)
print(x2006)
print(x2007)
print(x2008)
print(x2009)
print(x20010)

Fixed code:
import sys
r, D, x2000 = map(int, sys.stdin.readline().split())
x2001 = r * x2000 - D
x2002 = r * x2001 - D
x2003 = r * x2002 - D
x2004 = r * x2003 - D
x2005 = r * x2004 - D
x2006 = r * x2005 - D
x2007 = r * x2006 - D
x2008 = r * x2007 - D
x2009 = r * x2008 - D
x2010 = r * x2009 - D
print(x2001)
print(x2002)
print(x2003)
print(x2004)
print(x2005)
print(x2006)
print(x2007)
print(x2008)
print(x2009)
print(x2010)
Buggy code:
r,d,x = map(int,input().split())
for i in range(10):
    x = r*x-d
print(x)


Fixed code:
r,d,x=map(int,input().split())
ans=x
for i in range(10):
  ans = r*ans -d
  print(ans)
Buggy code:
r,d,x = map(int, input().split())
for i in range(10):
  x =r*x-d
print(x)

Fixed code:
r,d,x=map(int,input().split())
for i in range(10):
    x=r*x-d;print(x)
Buggy code:
r,D,x=map(int,input().split())
for i in range(10):
   x=r*x-D
    print(x)

Fixed code:
r, D, x = map(int, input().split())


for _ in range(10):
    x = r * x - D
    print(x)
Buggy code:
r, d, x = map(int, input().split())
for i in range(10):
    x = r*x+d
    print(x)


Fixed code:
r, d, x = map(int, input().split())

for i in range(10):
    x = (r * x) - d
    print(x)
Buggy code:
r, d, x = map(int, input().split())
for i in range(10):
  x = r*x-D
  print(x)

Fixed code:
r, D, x = map(int, input().split())

for i in range(10):
    x = r*x-D
    print(x)
Buggy code:
a,b,c=map(int,input().split())
for i in range(10):
  s1=(a*c) -b
  print(s1)
  a=s1

Fixed code:
a,b,c=map(int,input().split())
for i in range(10):
  s1=(a*c) -b
  print(s1)
  c=s1
Buggy code:
r,D,x_2000 = map(int,input().split())


X=[x_2000]
for i in range(10):
    X.append(r*X[i] - D)


print(*X,sep="\n")
    

Fixed code:
r,D,x_2000 = map(int,input().split())


X=[x_2000]
for i in range(10):
    X.append(r*X[i] - D)


print(*X[1:],sep="\n")
Buggy code:
r,d,x=map(int,input().split())
for i in range(10):
  print(x)
  x=x*r-d

Fixed code:
r,d,x = map(int, input().split())

for i in range(10):
    x = r*x-d
    print(x)
Buggy code:
r, d, x = list(map(int, input().split()))

for i in range(10):
  x = r * x - d

print(x)

Fixed code:
r,d,x=map(int,input().split())
for i in range(10):
  x=(r*x)-d
  print(x)
Buggy code:
r, D, X = list(map(int, input().split()))
for i in range(10):
    x = r * x - D
    print(x)


Fixed code:
r, D, x = list(map(int, input().split()))
for i in range(10):
    x = r * x - D
    print(x)
Buggy code:
r, D, X_1 = input().split()
r = int(r)
D = int(D)
x = int(X_1)
for i in range(10):
  print(str(x))
  x = r * X - D

Fixed code:
r, D, X_1 = input().split()
r = int(r)
D = int(D)
x = int(X_1)
for i in range(10):
  x = r * x - D
  print(str(x))
Buggy code:
r, D, X_1 = input().split()
r = int(r)
D = int(D)
x = int(X_1)
for i in range(10):
  print(str(x))
  x = r * x - D


Fixed code:
r, D, x = (int(x) for x in input().split())
for i in range(10):
    x = r*x - D
    print(x)
Buggy code:
r, D, x = map(int, input().split())
x_list = [x]

def f(x):
    x_list.append(r * x_list[i-1] - D)
    return 

for i in range(1,11):
    f(i)

for i in x_list:
    print(i) 

Fixed code:
r, D, x = map(int, input().split())
x_list = [x]

def f(x):
    x_list.append(r * x_list[i-1] - D)
    return 

for i in range(1,11):
    f(i)

for i in x_list[1:]:
    print(i)
Buggy code:
r,D,x_2000=map(int,input().split())
x=[x_2000]
for i in range(10):
  y=List[i]*r-D
  List.append(y)
  print(List[i+1])



Fixed code:
r,D,x_2000=map(int,input().split())
x=[x_2000]
for i in range(10):
  y=x[i]*r-D
  x.append(y)
  print(x[i+1])
Buggy code:
r,d,x=map(int,input().split())
for i in range(1,10):
    x=r*x-d
    print(x)


Fixed code:
r,d,x=list(map(int,input().split()))
for i in range(10):
  print(r*x-d)
  x=r*x-d
Buggy code:
r , D, x = map(int, input().split())
for i in range(10):
  print(int(r*x-D))

Fixed code:
r, D, x_2000 = map(int, input().split())
x = x_2000
for i in range(10):
    x = r * x - D
    print(x)
Buggy code:
r,d,x=map(int,input().split())
for i range(10):
  x=r*x-d
  print(x)

Fixed code:
r,d,x=map(int,input().split())
for i in range(10):
  x=x*r-d
  print(x)
Buggy code:
r, D, x = map(int, input().split())

for i in range(10) :
  x = r*x + D
  print(x)


Fixed code:
r, D, x = map(int, input().split())
for i in range(10):
    x = (r * x) - D
    print(x)
Buggy code:
r, D, x = list(map(int, input()))

x_ = [0] * 10

for i in range(10):
    if i == 0:
        x_[i] = r*x - D
    else:
        x_[i] = r*x[i-1] - D
    print(x_[i])



Fixed code:
r, D, x = list(map(int, input().split()))

x_ = [0] * 10

for i in range(10):
    if i == 0:
        x_[i] = r*x - D
    else:
        x_[i] = r*x_[i-1] - D
    print(x_[i])
Buggy code:
def main():
  r,D,X_2000=map(int,input().split())
  x=[]
  x.append(X_2000)
  for i in range(1:11):
    x[i]=r*x[i-1]-D
    x.append(x[i])
    print(x[i])
main()

  

Fixed code:
def main():
  r,D,X_2000=map(int,input().split())
  x=[]
  x.append(X_2000)
  for i in range(1,11):
    x.append(r*x[i-1]-D)
    print(x[i])
main()
Buggy code:
INPUT = input().split()
r = int(INPUT[0])
D = int(INPUT[1])
X = int(INPUT[2])

XX = []

ans = ""
XX.append(X)

i = 0
while i < 10:
    v = r * XX[i] - D
    XX.append(v)
    ans = ans + str(XX[i]) + '\n'
    i += 1

print(ans)

Fixed code:
INPUT = input().split()
r = int(INPUT[0])
D = int(INPUT[1])
X = int(INPUT[2])

XX = []

ans = ""
XX.append(X)

i = 0
while i < 10:
    v = r * XX[i] - D
    XX.append(v)
    ans = ans + str(XX[i + 1]) + '\n'
    i += 1

print(ans)
Buggy code:
r,d,x = int(input().split())
for i in range(10):
	x = r * x - d
	print(x)

Fixed code:
r,d,x=map(int,input().split())
tmp=x
for i in range(10):
    x=r*x-d
    print(x)
Buggy code:
r,D,X = map(int, input().split())
ope_num = 10

while ope_num > 10:
  X = r*X -D
  print(X)
  
  ope_num -= 1

Fixed code:
r,D,X = map(int, input().split())
ope_num = 10

while ope_num > 0:
  X = (r * X) - D
  print(X)
  
  ope_num -= 1
Buggy code:
r,D,x = [int(i) for i in input().split()]

print(r)


def calu(r,D,x):
    X =x
    for j in range(10):
       X = r*X-D
       print(X)

calu(r,D,x)

Fixed code:
r,D,x = [int(i) for i in input().split()]
def calu(r,D,x):
    X =x
    for j in range(10):
       X = r*X-D
       print(X)

calu(r,D,x)
Buggy code:
r, D, x = map(int, input(),split())

def calc(r, D, x):
  return (r * x) - D

for _ in range(10):
  x = calc(r, D, x)
  print(x)

Fixed code:
r, D, x = map(int, input().split())

def calc(r, D, x):
  return (r * x) - D

for _ in range(10):
  x = calc(r, D, x)
  print(x)
Buggy code:
#coding:utf-8
r,D,x = map(int,input().split())
x2001 = r * x - D
x2002 = r * x2001 -D
x2003 = r * x2002 - D
x2004 = r * x2003 - D
x2005 = r * x2004- D
x2006 = r * x2005- D
x2007 = r * x2006 - D
x2008 = r * x2007 - D
x2009 = r * x2008 - D
x2010 = r * x2009 - D
X = [x2001,x2002,x2003,x2004,x2005,x2006,x2007.x2008,x2009,x2010]
print(X)

Fixed code:
#coding:utf-8
r,D,x = map(int,input().split())
x2001 = r * x - D
x2002 = r * x2001 - D
x2003 = r * x2002 - D
x2004 = r * x2003 - D
x2005 = r * x2004 - D
x2006 = r * x2005 - D
x2007 = r * x2006 - D
x2008 = r * x2007 - D
x2009 = r * x2008 - D
x2010 = r * x2009 - D
print(x2001)
print(x2002)
print(x2003)
print(x2004)
print(x2005)
print(x2006)
print(x2007)
print(x2008)
print(x2009)
print(x2010)
Buggy code:
def algae(r,d,x):
    for i in range(10):
        x = r*x-10
        print(x)    
r,d,x = map(int, input().split())
algae(r,d,x)

Fixed code:
def algae(r,d,x):
    for i in range(10):
        x = r*x-d
        print(x)    
r,d,x = map(int, input().split())
algae(r,d,x)
Buggy code:
r, d,x = map(int,input().split())
x_i = 0
for i in range(10):
  x_i = x*r-d
  print(x_i)

Fixed code:
r, d, x = map(int,input().split())
for i in range(10):
    x = r * x - d
    print(x)
Buggy code:
r,d,x=map(int,input().split)
for i in range(10):
  x=x*r-d
  print(x)


Fixed code:

r,D,x = map(int,input().split())

for i in range(10):
	x = r*x - D
	print(x)
Buggy code:
a,b,c = map(int, input().split())
x0=c
x1=a*c-b
x2=2*(x1-x0)+x1
x3=2*(x2-x1)+x2
x4=2*(x3-x2)+x3
x5=2*(x4-x3)+x4
x6=2*(x5-x4)+x5
x7=2*(x6-x5)+x6
x8=2*(x7-x6)+x7
x9=2*(x8-x7)+x8
x10=2*(x9-x8)+x9

print(x1)
print(x2)
print(x3)
print(x4)
print(x5)
print(x6)
print(x7)
print(x8)
print(x9)
print(x10)


Fixed code:
a,b,c = map(int, input().split())
x0=c
x1=a*c-b
x2=a*(x1-x0)+x1
x3=a*(x2-x1)+x2
x4=a*(x3-x2)+x3
x5=a*(x4-x3)+x4
x6=a*(x5-x4)+x5
x7=a*(x6-x5)+x6
x8=a*(x7-x6)+x7
x9=a*(x8-x7)+x8
x10=a*(x9-x8)+x9

print(x1)
print(x2)
print(x3)
print(x4)
print(x5)
print(x6)
print(x7)
print(x8)
print(x9)
print(x10)
Buggy code:
r, D, a = map(int, input().split())

old = a
for i in range(10):
  	print(r * old - D)
    old = r * old - D

Fixed code:
r, D, a = map(int, input().split())
 
old = a
for i in range(10):
  print(r * old - D)
  old = r * old - D
Buggy code:
a,b,c=map(int,input().split())
for in range(10):
  print(a*c-b)
  b=(a*c-b)

Fixed code:
a,b,c=map(int,input().split())
for i in range(10):
  print(a*c-b)
  c=(a*c-b)
Buggy code:
r,d,x = map(int,input().split())
for i in range(10)
    x = r * x - d
    print(x)

Fixed code:
r, d ,x = list(map(int, input().split()))
for i in range(10):
    x = r * x - d 
    print(x)
Buggy code:
a,b,c = map(int,input().split())
for i in range(b):
    c = a*c-b
    print(c)

Fixed code:
a,b,c = map(int,input().split())
#print(a*c-b)
for i in range(10):
    c = a*c-b
    print(c)
Buggy code:
r,d,x=int(input().split())

for i in range(11):
  x= x*r-d
  print(x)

Fixed code:
r, d, x = map(int, input().split())
for i in range(1, 11):
    print(r*x-d)
    x = r*x-d
Buggy code:
r, D, x2000 = map(int, input().split())
for i in range(10):
  x2000 = r*x2000+D
  print(x2000)

Fixed code:
r, D, x2000 = map(int, input().split())
for i in range(10):
  x2000 = r*x2000-D
  print(x2000)
Buggy code:
import sys

a, b, c = map(int, input().split())
x = a*c -b

for i in range(1,10):	
	print(x)
	x = a*x-b

Fixed code:
import sys

a, b, c = map(int, input().split())

x = a*c -b

for i in range(0,10):	
	print(x)
	x = a*x-b
Buggy code:
r,d,x=map(int,input().split())

for i in range(11):
  x= x*r-d
  print(x)



Fixed code:
r,d,x=map(int,input().split())
for i in range(10):
  x= r*x-d
  print(x)
Buggy code:
r, d, x = [int(x) for x in input().split()]
for i in range(2001, 2011):
  x = r * x - D
  print(x)

Fixed code:
r, d, x = [int(x) for x in input().split()]
for i in range(2001, 2011):
  x = r * x - d
  print(x)
Buggy code:
r,D,x =map(int,input().split())

for i in range(10)
	x = r*x-D
  	print(x)

Fixed code:
r,D,x= map(int,input().split())


for i in range(10):
    x=r*x-D
    print(x)
Buggy code:
r,d,x=list(map(int,input().split()))
for i in range(9):
  x=r*x-d
  print(x)

Fixed code:
r,d,x=list(map(int,input().split()))
for i in range(10):
  x=r*x-d
  print(x)
Buggy code:
n,d,x=map(int,input().split())
for i in range(10):
    x= n*x-d
print(x)

Fixed code:
n,d,x=map(int,input().split())
for i in range(10):
    x= n*x-d
    print(x)
Buggy code:
r,D,x=map(int,input().split())
for _ in range(10):
  x=r*x-10
  print(x)

Fixed code:
r,D,x = map(int,input().split())

for i in range(10):
    x = r*x-D
    print(x)
Buggy code:
def spaceinput():
    return list(map(int,input().split(" ")))

r,D,xx=spaceinput()

for i in range(11):
    print(xx)
    xx=xx*r-D



Fixed code:
def spaceinput():
    return list(map(int,input().split(" ")))

r,D,xx=spaceinput()

for i in range(10):
    
    xx=xx*r-D
    print(xx)
Buggy code:
x,D,xx=map(int,input().split())
for i for range(10):
  xx = x*xx-D
  print(xx)

Fixed code:
x,D,xx=map(int,input().split())
for i in range(10):
  xx = x*xx-D
  print(xx)
Buggy code:
r,d,x_ini=map(int,input().split())
x=x_ini
for i in range(9):
    x=x*r-d
    print(x*r-d)
    


Fixed code:
r,d,x_ini=map(int,input().split())
x=x_ini
for i in range(10):
    print(x*r-d)
    x=x*r-d
Buggy code:
A = list(map(int, input().split())) 
count = 0
ans = 0

for i in range(10):
    ans = (r*f) - D 
    count = count + 1
    print(ans)
    if(count == 10):
        break


Fixed code:
A = list(map(int, input().split())) 
r = A[0]
D = A[1]
f = A[2]
 
 
count = 0
ans = 0
 
for i in range(10):
    f = (r*f) - D 
    count = count + 1
    print(f)
    if(count == 10):
        break