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())

for i in range(10):
    ans = r * x - d
    print(ans)
    x = 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,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):
r,d,x0=map(int,input().split())
for i in range(10):
    x=r*x0-d
    print(x)
    x0=x

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

before = 0

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

Solution (Python):
import numpy as np
r,D,x=map(int,input().split())
def func(r, D, x):
    return r*x - D

X = np.zeros(10)
X[0] = func(r,D,x)
for i in range(10-1):
    X[i+1] = func(r, D, X[i])
for j in X:
    print(int(j))

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

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 = map(int,input().split())

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

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

Solution (Python):
import numpy as np
import math



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

xans = x


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

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())
for i 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):
  print(r*x-D)
  x=r*x-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, 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 _ 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=list(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()]
ans = [x]
for _ in range(10):
    ans.append(ans[-1] * r - d)
ans.pop(0)
for _ in range(len(ans)):
    print(ans.pop(0))

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())
num=[]
for i in range(10):
	x = x*r-d
	print(x)

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):




def main():
    R, D, X = map(int, input().split())
    for _ in range(10):
        print(R * X - D)
        X = R * X - D


if __name__ == "__main__":
    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,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())
f = x
i = 0
while i < 10:
  f = f*r-d
  print(f)
  i+=1

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

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

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

x = [None]*11
x[0]=x2000
for i in range(1,11):
    x[i]=r*x[i-1]-d
    print(x[i])

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(x[i + 1])

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):
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 i in range(10):
    x = r*x - D
    print(x)

Solution (Python):

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

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

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,x=map(int,input().split())
l=[]
l.append(x)
for _ in range(10):
    l.append(r*l[-1]-d)
l.pop(0)
for y in l:
    print(y)

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,y = map(int, input().split())
x = [y] + [0]*10
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_p=map(int,input().split())
x=x_p
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, x0 = map(int, input().split())
for i in range(10):
    x0 = r*x0-D
    print(x0)

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

tmp = kx
lst = []
for x in range(10):
    lst.append((tmp * r) - d)
    tmp = ((tmp * r) - d)

for i in lst:
    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())
for i in range(10):
  y = x * r - D
  print(y)
  x = y

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

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())

    tmp = x

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

if __name__ == '__main__':
    main()

Solution (Python):
import sys

r, d, x_2000 = map(int, sys.stdin.readline().split())

def main():
    x = x_2000
    for _ in range(10):
        x = r*x - d
        yield x

if __name__ == '__main__':
    ans = main()
    print(*ans, sep='\n')

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())

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,x0 = map(int,input().split())
a=[x0]

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

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

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

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

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, raw_input().split())
for i in range(10):
  x = r*x-D
  print x

Solution (Python):
def seichou(r,D,x):
  ans=int()
  for i in range(10):
    if i==0:
      ans=r*x-D
      print(ans)
    else:
      ans=ans*r-D
      print(ans)
  return(ans)
a,b,c=map(int,input().split())
seichou(a,b,c)

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

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())
ans = [0] * 11
ans[0] = x
for i in range(1, 11):
    ans[i] = r * ans[i - 1] - d
    print(ans[i])

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

ans = [0] * 11
ans[0] = x

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

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

Solution (Python):
r, D, x2000 = [int(s) for s in 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):
import os, sys, re, math

(r, D, x) = [int(n) for n in input().split()]

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

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

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

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

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())
res=x
for i in range(1,11):
    res=r*res-d
    print(res)

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())

i=1
a=r*x-D

while i<=10:
	print(a)
	a=r*a-D
	i+=1

Solution (Python):
r,D,x = list(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())
ans = 0

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

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

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

Solution (Python):
def main(r, f, x_2000):
    t = x_2000
    for _ in range(10):
        t = r * t - f
        print(t)


if __name__ == "__main__":
    r, f, x_2000 = map(int, input().split())
    main(r, f, x_2000)

Solution (Python):
r, D, x2000 = map(int, input().split())
X = [0]*11
X[0] = x2000
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())

x = x_2000

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):

 
import math
import itertools
import sys
import copy
 






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

def f(x) :
  global r
  global D
  return (r*x - D)

x = f(x2000)
for i in range(10):
  print (x)
  x = f(x)

Solution (Python):
r,d,x = map(int,input().split())
for _ 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, x = map(int, input().split())

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

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

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

Solution (Python):
import sys

stdin = sys.stdin

mod = 1000000007
inf = 1 << 60

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip()
nas = lambda: stdin.readline().split()

r, d, x = na()

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

Solution (Python):
import sys
import math

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

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

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

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, x = (int(x) for x in input().split())
gx = [0]*11
gx[0] = x
for i in range(1,11):
    mo = r*gx[i-1] - d
    print(mo)
    gx[i] = mo

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=x*r-d
  print(x)

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

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

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

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

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

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

before = x2000
outcount = 10

for i in range(1, outcount+1):
    val = (r * before) - D
    print(val)
    before = val

Solution (Python):

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

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

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

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):
 print(r*x-d)
 x=r*x-d

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

weight = r * x - d
print(weight)
for _ in range(9):
    weight = r * weight - d
    print(weight)

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):
   xx = r * x - d
   print(xx)
   x = xx

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

ans = [x]*11

for i in range(1, 11):
    ans[i] = ans[i-1]*r - d

for val in ans[1:12]:
    print(val)

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 _ in range(10):
    xn = r * x - D
    print(xn)
    x = xn

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

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

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

Solution (Python):
import sys
def input(): return sys.stdin.readline().rstrip()

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

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

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

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

Solution (Python):
"""
author : halo2halo
date : 9, Jan, 2020
"""

import sys

import numpy as np
import itertools

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10 ** 7)






R, D, X = map(int, readline().split())
xl = []
for _ in range(10):
    X = R * X - D
    xl.append(X)

print('\n'.join(str(x) for x in xl))

Solution (Python):

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

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

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

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

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

if __name__ == '__main__':
    main()

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_2000 = (int(x) for x in input().split())

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

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

Solution (Python):
input1 = input()

r = int(input1.split()[0])
d = int(input1.split()[1])
x = int(input1.split()[2])

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

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,x=map(int,input().split())
def func(a):
    return r*a-d
for i in range(10):
    x=func(x)
    print(x)

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


if __name__ == '__main__':
    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,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):
    ans = r * x - D
    print(ans)
    x = 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,x = map(int,input().split())
ans = [0]*10

for i in range (1,11):
	if i == 1:
		ans[0] = r*x-D
		print(ans[0])
	else:
		ans[i-1] = r*ans[i-2]-D
		print(ans[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())
for i in range(10):
    x = r*x - d
    print(x)

Solution (Python):
R, D, X = map(int, open(0).read().split())
X = R * X - D
for i in range(10):
    print(X)
    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 ,x2000 = map(int,input().split())

def calc(r,d,x,i):    
    x_n = r*x-d
    print(x_n)
    if i == 9:    
        return 1
    else:
        return calc(r, d, x_n,i+1)


calc(r,D,x2000,0)

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

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

Solution (Python):
r,d,x2000 = map(int, input().split())
y=x2000
i=1
while i<11:
    u = r*y - d
    print(r*y - d)
    y = u
    i+=1

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

Solution (Python):
r,d,x=list(map(int, input().split()))
memo={0:x}
for i in range(10):
  memo[i+1]=memo[i]*r -(d)
for i in memo:
  if i!=0:
    print(memo[i])

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

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

X = [0]*10
X.insert(0,x)

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

for i in range(1,len(X),1):
    print(X[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())
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, x2000 = map(int, input().split())

xh = x2000

for _ in range(10):
  xi = r*xh - d
  print(xi)
  xh = xi

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):
num = list(map(int,input().split()))
length = num[2]
for i in range(10):
	print(num[0]*length-num[1])
	length = num[0]*length-num[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())
lst = [x]

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

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

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

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

Solution (Python):
r,d,x=map(int,input().split())
A=[x]
for i in range(10):
  A.append(A[i]*r-d)
  print(A[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())
ans = [x]
for i in range(10):
    ans.append(ans[i]*r - D)
ans.pop(0)
for j in range(len(ans)):
    print(ans[j])

Solution (Python):
r, d, x = map(int, input().split())
for i in range(1, 11):
    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 = 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])

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 = map(int,input().split())
for i in range(10):
    print(r*x-d)
    x = r*x-d

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

Solution (Python):
def cal(r,D,x):
    while True:
        x = r*x - D
        yield x

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

cnt = 0
for x in cal(r,D,x):
    print(x)
    cnt += 1
    if(cnt == 10):
        break

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()]
for i in range(2001, 2011):
  nx = r * x - d
  print(nx)
  x = nx

Solution (Python):
a, b, c = map(int,input().split())
r = a
d = b
x_init = c
result = []

def main(_r, _d, _x, _i):
    result.append(int(_r) * int(_x) - int(_d))
    return result[_i]

for i in range(10):
    if i == 0:
        main(r, d, x_init, i)
    else:
        main(r, d, result[i - 1], i)
    print(result[i])

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

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

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

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

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

Solution (Python):
(A, B, C), = [list(map(int, s.split())) for s in open(0)]
last_g = C
for i in range(10):
    g = A * last_g - B
    last_g = g
    print(g)

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

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

print(*ans[1:])

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 _ in range(10):
    x = r * x - D
    print(x)

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

current = r * x - D
print(current)

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

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

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):
def solve():
    r, D, x = map(int, input().split())
    
    ans = x
    for i in range(10):
        ans = r * ans - D
        print(ans)


if __name__ == '__main__':
    solve()

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

ans = []

A2001 = ((r * (X2000) ) - D)

ans.append(A2001)

for i in range(9):
    A = ( (r * (ans[i])) - D )
    ans.append(A) 
    
for i in ans:
    print(i)

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

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

Solution (Python):
a = 1
A,B,C = map(int,input().split())
for _ in range(10):
  C = C * A-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, x2000 = map(int, input().split())

Ans = list()

for i in range(11):
    if i == 0:
        Ans.append(x2000)
    else:
        Ans.append(r*Ans[i-1] - d)
        print(Ans[i])

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 = map(int, input().split())
x=c
for i in range(10):
  x=a*x-b
  print(x)

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

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())
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):
    lst.append(r*lst[-1]-D)
for i in range(1,11):
    print(lst[i])

Solution (Python):
r, D, x = map(int, input().split())
i = 0
while i<10:
    x = r*x - D
    print(x)
    i += 1

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

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

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

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

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

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

x =[x0]

for i in range(1,11):
    x.append(x[i-1]*r -D)
print(*x[1:11], sep='\n')

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

count = 0
while count < 10:
  x = r*x-d
  print(x)
  count += 1

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 i in range(10):
    x = r*x - D
    print(x)

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

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

Solution (Python):
r,d,x=map(int,input().split())
ans=[0]*10
ans[0]=r*x-d
for i in range(1,10):
    ans[i]=r*ans[i-1]-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, x = map(int, input().split())

for i in range(2001, 2011):
    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 = list(map(int,input().split()))

x2000 = [None] * 11
x2000[0] = x
for i in range(1,11):
    x2000[i] = r*x2000[i-1] - D
for i in x2000[1:]:
    print(i)

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

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

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

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

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())

Sum = x_2000

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

Solution (Python):
r,d,x = map(int,input().split())
ans = 0
for i in range(10):
  if i == 0:
    ans = r * x -d
    print(ans)
  else:
    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, 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, x = map(int, input().split())
for _ in range(1, 11):
  print(r*x - D)
  x = r*x - 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,x = map(int,input().split())
for i in range(1,11):
  x = x*r - d
  print(x)

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

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

for i in range(10):
  ans = r*x-d
  print(int(ans))
  x = 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, x = map(int, input().split())

ans = x

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

Solution (Python):
r,D,x_2000 = map(int,input().split())
x = x_2000
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(10):
  x=r*x-d
  print(x)