Problem:
 Score : 200 points    Problem Statement The development of algae in a pond is as follows.  Let the total weight of the algae at the beginning of the year i be x_i gram. For i≥2000 , the following formula holds:   x_{i+1} = rx_i - D   You are given r , D and x_{2000} . Calculate x_{2001} , ... , x_{2010} and print them in order.      Constraints  2 ≤ r ≤ 5  1 ≤ D ≤ 100  D < x_{2000} ≤ 200  All values in input are integers.         Input Input is given from Standard Input in the following format:  r  D  x_{2000}       Output Print 10 lines. The i -th line ( 1 ≤ i ≤ 10 ) should contain x_{2000+i} as an integer.        Sample Input 1 2 10 20      Sample Output 1 30
50
90
170
330
650
1290
2570
5130
10250  For example, x_{2001} = rx_{2000} - D = 2 \times 20 - 10 = 30 and x_{2002} = rx_{2001} - D = 2 \times 30 - 10 = 50 .       Sample Input 2 4 40 60      Sample Output 2 200
760
3000
11960
47800
191160
764600
3058360
12233400
48933560

Solution (Python):
r, d, x = map(int, input().split())

dp = [x] * 11

for i in range(10):
    dp[i+1] = dp[i] * r - d

for i in range(1, 11):
    print(dp[i])

Solution (Python):



a, b, c = map(int, input().split())
o = [c]
for i in range(10):
    o.append(a*o[i]-b)

for i in range(1, 11):
    print(o[i])

Solution (Python):
r,D,x = map(int,input().split())
cnt = 0
ans = 0

while cnt < 10:
  ans = r * x - D
  print(ans)
  x = ans
  cnt+=1

Solution (Python):
def main():
    r, d, x = map(int, input().split())
    a = d/(1-r)
    ans = [x]
    for i in range(10):
        ans.append(r*(ans[-1])-d)
    
    for i in range(1, 11):
        print(ans[i])


if __name__ == "__main__":
    main()

Solution (Python):
hoge = input().split()
r = int(hoge[0])
d = int(hoge[1])
x2000 = int(hoge[2])
xnext = x2000

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

Solution (Python):
r, d, x = map(int, input().split())
current_year = x

for i in range(1, 11):
    current_year = r * current_year - d
    print(current_year)

Solution (Python):
x = [0] * 11
r, D, x[0] = map(int, input().split())
for i in range(1,11):
	x[i] = r * x[i-1] - D
	print(x[i])

Solution (Python):
r,d,prex = map(int, input().split())
for i in range(10):
  newx = prex*r - d
  print(prex*r - d)
  prex = newx

Solution (Python):
r,d,x_2000 = map(int,input().split())
a = x_2000
for i in range(10):
  a = r*a - d
  print(a)

Solution (Python):
r, D, x_2000 = map(int, input().split())
x = x_2000

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

Solution (Python):
r, D, x = map(int, input().rstrip().split(' '))

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

Solution (Python):
r,D,x2000 = map(int, input().split())
xn = x2000
for i in range(10):
    xn=xn*r-D
    print(xn)

Solution (Python):


inputs = input().split(' ')
r = int(inputs[0])
D = int(inputs[1])
x = int(inputs[2])

for i in range(1, 11):
    x = r * x - D   
    print(x)

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

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

Solution (Python):
r, d, x = map(int, input().split())

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

Solution (Python):


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

l = [x2000]
for i in range(1, 11):
    l.append(r * l[i - 1] - D)

print("\n".join([str(i) for i in l[1:]]))

Solution (Python):
r, D, x = map(int, input().split())
for i in range(10):
    x = r * x - D
    print("{}".format(x))

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

Solution (Python):
i = input().split(" ")

r = int(i[0])
d = int(i[1])
a = int(i[2])

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

Solution (Python):
r, d, x = list(map(int, input().split()))
for _ in range(10):
    x = r * x - d
    print(x)

Solution (Python):
r,D ,x = (int(x) for x in input().split())

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

Solution (Python):
r, d, x0 = map(int,input().split())
x = x0
for i in range(10):
  x = r * x - d
  print(x)

Solution (Python):
def main():
    r, D, x = map(int, input().split())

    for i in range(10):
        x = r * x - D
        print("{}".format(x))


if __name__ == "__main__":
    main()

Solution (Python):
import sys

def solve(r, d, x):
    for i in range(10):
        x_next = r * x - d
        print x_next
        x = x_next

if __name__ == '__main__':

    r, d, x = map(int, sys.stdin.readline().strip().split(" "))
    solve(r, d, x)

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

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

Solution (Python):
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)

Solution (Python):
r, D, x = map(int, input().split())
for _ in range(10):
    x = r * x - D
    print(x)

Solution (Python):
A,B,C = map(int,input().split())
N=C
for i in range(1,11):
  N=A*N-B
  print(N)

Solution (Python):
r,d,x = list(map(int,input().split()))
prex = x
g = 0
for i in range(10):
    g = r*prex - d
    prex = g
    print(g)

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

Solution (Python):
def main():
    r, D, x = [int(n) for n in input().split()]
    for i in range(10):
        tmp = r * x - D
        print(tmp)
        x = tmp
main()

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

Solution (Python):



input_list = input().split()

r = int(input_list[0])
D = int(input_list[1])
x_2000 = int(input_list[2])
total = x_2000

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

Solution (Python):
r, D, x_2000 = map(int,input().split())

List = []
tmp = x_2000
N = 10

for i in range(N):
    tmp = tmp * r - D
    List.append(tmp)

for i in range(N):
    print("{}".format(List[i]))

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

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

lst = [x]
for i in range(10):
    x_ = r*lst[i] - D
    lst.append(x_)

for j in lst[1:11]:
    print(j)

Solution (Python):
r, D, x = [int(_) for _ in input().split()]

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

Solution (Python):
r,d,x = map(int, input().split())


now = x

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

Solution (Python):
r, d, xini = map(int, input().split())
x = [xini]

for i in range(10):
    x.append(r*x[i]-d)
    print(x[i+1])

Solution (Python):
r,d,x=map(int, input().split())
g = x
for i in range(10):
    g = r*g - d
    print(g)

Solution (Python):
str = input().split()
r = int(str[0])
D = int(str[1])
X = int(str[2])

XX = []
XX.append(X)
for i in range(1,11):
    XX.append( r*XX[i-1] - D)

for j in range(1, 11):
    print(XX[j])

Solution (Python):
def algae_weight(r, d, x):
  return r*x - d

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

for i in range(10):
  x = algae_weight(r, d, x)
  print(x)

Solution (Python):
r, D, a = map(int, input().split())

for i in range(1, 11):
    a = r * a - D
    print(a)

Solution (Python):
r, D, x = map(int, input().split())
a = r * x - D
print(a)

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

Solution (Python):
r, d, x = map(int, input().split())

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

Solution (Python):
import os, sys, re, math

r,D,x2000 = [int(s) for s in input().split(' ')]

xcur = x2000
xnex = 0

for _ in range(10):
    xnex = r * xcur - D
    print(xnex)
    xcur = xnex

Solution (Python):
rdx = list(map(lambda x: int(x), input().split()))
r = rdx[0]
d = rdx[1]
x = rdx[2]

memo = [0 for i in range(11)]

memo[0] = x
for i in range(10):
  memo[i+1] = memo[i] * r - d
  print(memo[i+1])

Solution (Python):
(r, d, x) = [int(i) for i in input().split(' ')]

for _ in range(0, 10):
    x = (r * x) - d
    print(x)

Solution (Python):

def main():
    r,d,x = map(int,input().split())

    for _ in range(10):
        print(r*x-d)
        x = r*x-d
main()

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

Solution (Python):
r, d, a = map(int, input().split())
for i in range(10):
    a = r*a - d
    print(a)

Solution (Python):
r, d,x = list(map(int, input().split()))

pre = x
for i in range(1,11):
    tmp = pre * r - d
    print(tmp)
    pre = tmp

Solution (Python):
r,D,x_2 = map(int,input().split())

x = [x_2,0,0,0,0,0,0,0,0,0,0]
for i in range(10):
    x[i+1] = r*x[i] - D
    print(x[i+1])

Solution (Python):
r,d,x=(int(i) for i in input().split())
for i in range(10):
  v=r*x-d
  print(v)
  x=v

Solution (Python):
r, d, x = map(int, input().split(" "))
for _ in range(10):
    x = x * r - d
    print(x)

Solution (Python):
r, D, x_2000 = list(map(int, input().split()))
x = []
for i in range(0,10):
    if i == 0:
        x.append(r * x_2000 - D)
        print(x[i])
    else:
        x.append(r * x[i-1] - D)
        print(x[i])

Solution (Python):
r, d, x= map(int, input().split())
x_now = x
for _ in range(10):
    x_next = r*x_now - d
    x_now = x_next
    print(x_next)

Solution (Python):


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

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

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

for i in range(10):
  x = r * x - D
  print('%d' % x)

Solution (Python):
a=[int(i) for i in input().split()]
for i in range(10):
  a[2]=a[2]*a[0]-a[1]
  print(a[2])

Solution (Python):
r,d,x=map(int,input().split())

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

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

Solution (Python):
import sys
input = sys.stdin.readline

r, d, x = map(int, input().split())
ans = [r*x-d]

print(ans[0])
for i in range(0, 9):
    ans.append(ans[i]*r-d)
    print(ans[i+1])

Solution (Python):
r,D,x = map(int, input().split())
for a in range(10):
    x = r * x - D
    print(x)

Solution (Python):
r, D, x = map(int, input().split())
ansLst = [0] * 10

ansLst[0] = int((r * x) - D)
for i in range(1, 10):
    ansLst[i] = int((ansLst[i - 1] * r) - D)
for i in ansLst:
    print(i)

Solution (Python):



r,d,x = input().split()

r = int(r)
d = int(d)
x = int(x)

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

Solution (Python):
r,d,x0 = map(int,input().split())

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

Solution (Python):
import sys

def main(inp):
    r,d,xi = map(int,next(inp).split())
    for i in range(10):
        print(r*xi-d)
        xi = r*xi-d
        
main(sys.stdin)

Solution (Python):


rDx = [int(i) for i in input().split()]
x = rDx[2]
for i in range(10):
    x = rDx[0] * x - rDx[1]
    print(x)

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

Solution (Python):
r, d, x = map(int,input().split())

weight =[0]*11

weight[0] = x

for i in range(10):
	weight[i +1] = weight[i] * r -d
	print(weight[i+1])

Solution (Python):
r,d,x=map(int,input().split())
for i in range(10):
    y=r*x-d
    print(y)
    x=y

Solution (Python):




"""
2019年5月25日の AtCoder Beginnar Contest
B - Algae
"""


def main():
    r, D, x_2000 = map(int, input().split())
    x = [x_2000]

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

    for v in x[1:]:
        print(v)


if __name__ == '__main__':
    main()

Solution (Python):
r,D,x0=map(int,input().split())
y=2001
while y<=2010:
  x1=r*x0-D
  print(x1)
  x0=x1
  y+=1

Solution (Python):
r, D, x = map(int, input().split())
X = x
for i in range(1, 11):
    X = (r * X) - D
    print(X)

Solution (Python):


from sys import stdin

r, D, x_2000 = list(map(int, stdin.readline().split()))

def x(i):
    if i == 0:
        return x_2000
    else:
        return r * x(i-1) - D

for i in range(1, 11):
    print(x(i))

Solution (Python):
r,D,x = map(int,input().split())
list = []
list.append(x)
for i in range(10):
  new = r*list[-1]-D
  list.append(new)
for i in range(10):
  print(list[i+1])

Solution (Python):
r,d,x=map(int,input().split())

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

Solution (Python):










import numpy as np
import math
import copy

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

for _ in range(10):
    c = a * c - b
    print(c)

Solution (Python):
a = list(map(int, input().split()))

r = a[0]
D = a[1]
x = a[2]

ans = []

for i in range(10):
    x = r*x-D
    ans.append(x)

for i in ans:
    print(i)

Solution (Python):
r, d, x = map(int, input().split())

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

Solution (Python):
s = input().split()
r = int(s[0])
D = int(s[1])
inx = int(s[2])

tmp = inx
for i in range(1, 11):
  tmp = r * tmp - D
  print(tmp)

Solution (Python):
r, D, x0 = map(int, input().split())
x = [0]*11
x[0] = x0
for i in range(1,11):
    x[i] = r*x[i-1] - D
    
for i in range(1,11):
    print(x[i])

Solution (Python):
r, D, x_2000 = map(int, input().split(' '))

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

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

Solution (Python):
r, D, x_2000 = input().split(" ")
r, D, x_2000 = int(r), int(D), int(x_2000)
x = [0 for i in range(12)]
x[0] = x_2000

for k in range(11):
    x[k+1] = r*x[k] - D
    if k != 0:
        print(x[k])

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

Solution (Python):
n = input().split(" ")
r = int(n[0])
d = int(n[1])
x = int(n[2])

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

Solution (Python):


[r, D, x2000] = [int(i) for i in input().split()]

last_x = x2000
for i in range(10):
    x_i = r * last_x - D
    print(x_i)
    last_x = x_i

Solution (Python):
r,D,x=map(int,input().split())
a=r*x-D
for i in range(10):
  print(a)
  a=r*a-D

Solution (Python):
r, d, x = map(int, input().split())
a = x
for i in range(10):
    a = r*a - d    
    print(a)

Solution (Python):


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

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

Solution (Python):
r, d, x = map(int, input().split())

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

Solution (Python):
A,B,C=map(int,input().split())
for i in range(10):
  C=A*C-B
  print(C)

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

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

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

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

Solution (Python):
r,d,x=map(int,input().split())
post = x
for i in range(10):
    post= r * post -d
    print(post)

Solution (Python):
r, d, x = map(int, input().split())
for _ in range(10):
    x = r * x - d
    print(x)

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

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

for i in range(10):
    print(lst[i])

Solution (Python):
r,d,x = map(int,input().split())

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

Solution (Python):
r, D, X= map(int, input().split())

for x in range(1, 11):
    X = r*X - D
    print(X)

Solution (Python):
r, D, x_2000 = map(int, input().split())
cnt = 10
x_next = x_2000

for i in range(cnt):
    x_next = r*x_next - D
    print(x_next)

Solution (Python):
r,d,x= map(int, input().split())

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

Solution (Python):



v = list(map(int, input().split()))
r, d, x2000 = v[0], v[1], v[2]

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

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

Solution (Python):
r, D, x_2000 = map(int, input().split())

x_old = x_2000
for x in range(10):
  tmp = r*x_old - D
  print(tmp)
  x_old = tmp

Solution (Python):
r, d, x = map(int, input().split())

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

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

Solution (Python):
rDx=list(map(int,input().split()))
x=rDx[2]
for i in range(10):
    x=rDx[0]*x-rDx[1]
    print(x)

Solution (Python):
r,d,x =  map(int, input().split())
new_x = 0
for i in range(0,10):
	x = r * x - d
	print(x)

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

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

Solution (Python):
import sys
 
 
r,D,x_2000 = sys.stdin.readline().strip().split()
r = int(r)
D = int(D)
x_2000 = int(x_2000)

def calc(x_i):
    X = r*x_i - D
    return(X)
    
x = x_2000
cnt = 0
f=1
while(f==1):
    x = calc(x)
    print(x)
    cnt += 1
    if(cnt==10):
        f=0

Solution (Python):
import sys

r, D, x2000 = map(int, sys.stdin.readline().split())

pre_x = x2000
for i in range(10):
    now_x = pre_x * r - D
    print(now_x)
    pre_x = now_x

Solution (Python):
r, D, x = map(int, input().split())
for _ in range(10):
    next = r * x - D
    print(next)
    x = next

Solution (Python):



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

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

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

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

Solution (Python):
r, D, xinit = map(int, input().split())
x = xinit
for i in range(0,10):
  x = r * x - D
  print(x)

Solution (Python):
r,d,x=map(int,input().split())

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

Solution (Python):
r, D, x = map(int, input().split())
for _ in range(10):
    x = (r * x) - D
    print(x)

Solution (Python):
R,D,X=map(int, input().split())

x = X
for i in range(10):
    x = x*R - D
    print(x)

Solution (Python):
r, D, x2000 = map(int, input().split())

pre_x = x2000
for _ in range(10):
	crnt_x = r * pre_x - D
	print(crnt_x)
	pre_x = crnt_x

Solution (Python):
r, d, x = map(int, input().split())
xx = []
tmp = x
for i in range(10):
  tmp = r*tmp-d
  xx.append(tmp)

for i in range(10):
  print(xx[i])

Solution (Python):
r,d,x = map(int, input().split(" "))
for i in range(0, 10):
    x = x*r - d
    print(x)

Solution (Python):
r,d,xi = list(map(int,input().split()))
for k in range(10):
	xi = r*xi - d
	print(xi)

Solution (Python):
from fractions import *
r, D, x2000 = map(int, input().split())
x = [x2000]* 11

for i in range(10):
    x[i+1] = r*x[i] - D

for i in range(10):
    print(x[i+1])

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

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

Solution (Python):
r,d,x2000=map(int,input().split())
old=x2000
for i in range(10):
    new=r*old-d
    print(new)
    old=new

Solution (Python):
n = input().split()
r = int(n[0])
d = int(n[1])
x = int(n[2])
for i in range(10):
  x = r * x - d
  print(x)

Solution (Python):
r, D, x2000 = map(int, input().split())

ans = [x2000]

for i in range(1, 11):
    ans.append(r*ans[i-1]-D)

for i in range(1, 11):
    print(ans[i])

Solution (Python):
from sys import stdin

r, D, x2000 = map(int, stdin.readline().split())
for i in range(10):
  x2000 = r * x2000 - D
  print(x2000)

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

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

Solution (Python):


r, D, x = [int(x) for x in input().split()]
ls =[]
a = x
for i in range (10):
    b = r*a-D
    ls.append(b)
    a = b

for i in ls:
    print(i)

Solution (Python):
r, D, X = map(int, input().split())

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

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

c=0
n=x
while c<10:
    print(r*n-D)
    c+=1
    n=r*n-D

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

Solution (Python):


r, d, x2000 = list(map(int, input().split()))
x = x2000
for i in range(2000, 2010):
    x = r * x - d
    print(x)

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

Solution (Python):
a,b,c=map(int,input().split())
for i in range(10):
    print(a*c-b)
    c=a*c-b

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

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

for i in xi[1:]:
	print(i)

Solution (Python):
[r,d,x]=list(map(int,input().split()))

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

Solution (Python):
r, D, x2000 = map(int, input().split())

x = x2000
for i in range(2001, 2010+1):
    xnext = r * x - D
    print(xnext)
    x = xnext

Solution (Python):
r, d, x = map(int, input().split())

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

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

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

Solution (Python):
r,D,x2000 = map(int,input().split())
x = x2000
for i in range(10):
    x = (x*r)-D
    print(x)

Solution (Python):
r, d, x = map(int, input().split())

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

Solution (Python):
r, D, x2000 = list(map(int, input().split()))

xi = x2000
for x in range(2001, 2011, 1):
    xi = r * xi - D
    print(xi)

Solution (Python):
r, D, x = map(int, input().split())
for i in range(1,11):
    x = r * x - D
    print(x)

Solution (Python):

r, d, x2000 = map(int, input().split())
x = [x2000]
for i in range(1, 11):
    xi = r * x[i - 1] - d
    x.append(xi)
    print(xi)

Solution (Python):
def main():
    r, D, x_2000 = [int(ele) for ele in input().split()]
    last_year = x_2000
    kotoshi = 0
    for i in range(2001, 2011):
        kotoshi = r * last_year - D
        print(kotoshi)
        last_year = kotoshi


if __name__ == "__main__":
    main()

Solution (Python):
r, D, x_2000 = map(int, input().split())

x_pre = x_2000
for i in range(1, 11):
    x = r * x_pre - D
    print(x)
    x_pre = x

Solution (Python):
r,d,x=map(int,input().split())
for num in range(10):
    x=r*x-d
    print(x)

Solution (Python):
r, D, x = input().split()
r, D, x = float(r), float(D), float(x)

C = D/(r-1.0)
y = x-C

for i in range(10):
    y *= r
    print(int(y+C+0.01))

Solution (Python):
r, d, x=map(int,input().split())

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

Solution (Python):


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

gram = x2000
for i in range(1, 11):
    gram = gram * r - D
    print(gram)

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

Solution (Python):
R, D, X = map(int, input().split())


x = X
for _ in range(10):
    x = R * x - D
    print(x)

Solution (Python):
def get_next(r, x, D):
    return r*x - D

r, D, x = map(int, input().split())
for i in range(10):
    x = get_next(r, x, D)
    print(x)

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

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

Solution (Python):
a,b,c=input().split()
a=int(a)
b=int(b)
c=int(c)
for i in range(10):
    c=a*c-b
    print(c)

Solution (Python):
num1, num2, num3 = [int(i) for i in input().split()]

for index1 in range(10):
    num3 = (num1 * num3) - num2
    print(str(num3))

Solution (Python):
r,d,x = map(int,input().split())

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

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


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

Solution (Python):
def main():
    r, D, x = map(int, input().split())
    for i in range(10):
        x = r * x - D
        print(int(x))


main()

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

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

Solution (Python):
import sys
import os


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

Solution (Python):
r,D,x = map(int,input().split())
for i in range(10):
    y = r*x-D
    print(y)
    x = y

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

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

Solution (Python):
r, D, x = map(int, input().split())
pre = x
for _ in range(10):
    ans = r * pre - D
    print(ans)
    pre = ans

Solution (Python):
r,d,x=map(int,input().split())
for i in range(0,10):
  x = r * x - d
  print(int(x))

Solution (Python):
r, d, x = map(int, input().split())
temp = x
for i in range(10):
    xn = r * temp - d
    print(xn)
    temp = xn

Solution (Python):
r, d, x = map(int, input().split())

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

Solution (Python):



def main():
    r, d, x = (int(z) for z in input().split())
    for _ in range(10):
        x = r * x - d
        print(x)


if __name__ == "__main__":
    main()

Solution (Python):
from sys import stdin
import math
import itertools


def makeIntMatrix(lines):
    intMatrix = []
    for a in makeStringMatrix(lines):
        intMatrix.append([int(b) for b in a])
    return intMatrix
 
 
def makeStringMatrix(lines):
    stringMatrix = [line.split() for line in lines]
    return stringMatrix
 
 
def makeInt(line):
    return int(line.rstrip())
 
 
def makeMultiInteger(line):
    return [int(x) for x in line.rstrip().split()]


def solve(input_string):
    r, d, x = makeMultiInteger(input_string[0])
    x1 = x
    for _ in range(10):
        x1 = r*x1 - d
        print(x1)
    return 


def main():
    input_lines = stdin.readlines()
    answer = solve(input_lines)
    


if __name__ == '__main__':
    main()

Solution (Python):
r, D, xi = map(int, input().split())
for i in range(10):
    xi1 = r * xi - D
    print(xi1)
    xi = xi1

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

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

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

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

Solution (Python):
r,d,x=map(int,input().split())
for _ in range(0,10):
    print(r*x-d)
    x=r*x-d

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

Solution (Python):
r, D, x = map(int, input().split(" "))

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

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

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

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

Solution (Python):
r, D, x_2000 = map(int, input().split())
tmp = 0
for i in range(10):
    if tmp == 0:
        print(r * x_2000 - D)
        tmp = r * x_2000 - D
    else:
        print(r * tmp - D)
        tmp = r * tmp - D

Solution (Python):
a, b, c = [int(i) for i in input().split()]
d = (c * a) - b
for _ in range(10):
    print(d)
    d = (a * d) - b

Solution (Python):

def main():
    r, D, x = map(int, input().split())
    
    for i in range(10):
        x = r * x - D
        print(x)
    pass


if __name__ == '__main__':
    main()

Solution (Python):
r, d, i = map(int, input().split())
cur = i
for c in range(10):
	cur = cur * r - d
	print(cur)

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

Solution (Python):
r,d,x = map(int,input().split())
for i in range(10):
  temp = r*x - d
  print(temp)
  x = temp

Solution (Python):
r,D,X = [int(i) for i in input().split()]
for i in range(10):
    X = r*X - D
    print(X)

Solution (Python):
from sys import stdin

def main():
    R, D, X2000 = map(int, input().split())

    xi = X2000
    for _ in [0] * 10:
        n = R * xi - D
        print(n)
        xi = n

input = lambda: stdin.readline()
main()

Solution (Python):
r,D,x = list(map(int,input().split()))

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

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

nx = r*x-D
print(nx)

for i in range(9):
	nx = r*nx-D
	print(nx)

Solution (Python):


import sys

r,d,x0 = [ int(x) for x in sys.stdin.readline().split() ]

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

Solution (Python):
r,d,x=[int(i) for i in input().split()]

cur=x
for i in range(2001,2011):
  cur=r*cur-d
  print(cur)

Solution (Python):
def solve():
    r, D, x2000 = map(int, input().split())

    xh = x2000
    for i in range(10):
        xi = r * xh - D
        print(xi)
        xh = xi


if __name__ == '__main__':
    solve()

Solution (Python):

r, D, x2000 = list(map(int,input().split()))

x = x2000

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

Solution (Python):
r,D,x = map(int, input().split())
xi_1 = x
xi = 0
for i in range(10):
    xi = r*xi_1-D
    print(xi)
    xi_1 = xi

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

Solution (Python):
r,D,x = map(int, input().split(' '))
for i in range(10):
    print(r * x - D)
    x = r * x -D

Solution (Python):
r, d, x = [int(c) for c in input().split()]
for i in range(10):
    x = r * x - d
    print(x)

Solution (Python):


import sys
import math
import collections

r,D,x = map(int, sys.stdin.readline().rstrip().split(" "))
for i in range(10):
    x = r*x - D
    print(x)
exit(0)

Solution (Python):




s = list(map(int,input().split()))
r=s[0]
D=s[1]
x=s[2]

def x_next(x):
    return r*x-D

for i in range(10):
    x = x_next(x)
    print(x)

Solution (Python):
import sys

r, D, x0 = input().split()

x = 0

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

Solution (Python):
r, d, x_2000= map(int,open(0).read().split())

x = [0] * 11
x[0] = x_2000

for i in range(1, len(x)):
        x[i] = r * x[i-1] - d
        print(x[i])

Solution (Python):
r, d, a = map(int, input().split())

next_a = a
for i in range(0, 10):
    next_a = r * a - d
    print(next_a)
    a = next_a

Solution (Python):
r, D, x = map(int, input().split())
for j in range(10):
	x = r * x - D
	print(x)

Solution (Python):
r,D,x_2 = map(int,input().split())
for i in range(10):
    x_2 = r*x_2 - D
    print(x_2)

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

Solution (Python):
r,d,x=map(int,input().split())
aa=x
for i in range(0,10):
  aa=r*aa-d
  print(aa)

Solution (Python):
num = []
num = [int(i) for i in input().split()]

result = num[2]
for temp in range(10):
    result = result * num[0] - num[1]
    print(result)

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

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

for i in range(10):
	x = mo_fun(r,D,x)
	print(x)

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

Solution (Python):
r, d, x = map(int, input().split())

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

Solution (Python):
r,D,x=map(int, raw_input().split())

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

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

arrAns=[x]

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

for i in range(1,11):
	print(arrAns[i])

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

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


def next_year(r, d, x):
    return r * x - d


for i in range(10):
    x = next_year(r, D, x)
    print(x)

Solution (Python):
r, d, x = map(int, input().split())
def calc_w(_x):
    return int(r*_x - d)

for i in range(10):
    x = calc_w(x)
    print(x)

Solution (Python):

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

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

Solution (Python):
x = [0 for i in range(11)]

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

for i in range(10):
    x[i+1] = r * x[i] - D
    print(int(x[i+1]))

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

Solution (Python):
r,d,x=map(int,input().split())
tmp=x
for i in range(10):
	tmp=r*tmp-d
	print(tmp)

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