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())
ans=[0]*10
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(1, 11):
        x = r*x - D
        print(int(x))
main()

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

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

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

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

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

for i in range(10):
  ans = r*x-D
  x = ans
  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())
ans = [0] * 10

ans[0] = r * x2000 - d
print(ans[0])

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

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

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

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

Solution (Python):
s = input().split()

r = int(s[0])
d = int(s[1])
x_i = int(s[2])

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

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

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

Solution (Python):
r,d,x = map(int,input().split())
def saiki(r,x,d,number):
    number +=1
    if number <=2010:
        x = r*x-d
        print(x)
        saiki(r,x,d,number)
saiki(r,x,d,2000)

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

Solution (Python):
def solve_127b(r, D, x):
    for i in range(10):
        x = r * x - D
        print(x)

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

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 = [int(i) for i in 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())
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())
count=0
while count<10:
    print(r*x-D)
    x=r*x-D
    count+=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())
y = []
y.append(x)
for i in range(10):
    print(r*y[i]-D)
    y.append(r*y[i]-D)

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

count=0
while count<=9:
    x=r*x-d
    print(x)
    count+=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())
y=[x]
for i in range(10):
  y.append(r*y[i]-d)
  print(y[i+1])

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

Solution (Python):
r, D, x2k = [int(n) for n in input().split()]
X = [x2k]
for i in range(10):
    X.append(r*X[i]-D)
    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, 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())
a = r * x -D
for _ in range(10):
    print(a)
    a = r * a - 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,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())
X=[x]
for i in range(10):
    X.append(r*X[-1]-d)
    print(X[-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 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())
x = [0]*11
x[0] = x2000
for i in range(1, 11):
    x[i] = r*x[i-1]-D
    print (x[i])

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

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

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

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

Solution (Python):
inputted = list(map(int, input().split()))
r = inputted[0]
D = inputted[1]
x2000 = inputted[2]

x_i_1 = (lambda r, D: lambda xi: r * xi - D)(r, D)


for i in range(1, 10 + 1):
    current = x_i_1(x2000) if i == 1 else x_i_1(prev)
    print(current)
    prev = current

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

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

Solution (Python):

import sys

sr = lambda: sys.stdin.readline().rstrip()
ir = lambda: int(sr())
lr = lambda: list(map(int, sr().split()))

R, D, X = lr()
for i in range(1, 11):
    X = R * X - D
    print(X)

Solution (Python):
r, D, x=map(int, input().split())
X=[0]*11
X[0]=x
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())
def weight(r,d,x):
  x_next = r*x-d
  return x_next
for y in range(10):
  x = weight(r,d,x)
  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())
a = [r*x-d]*10
for i in range(1,len(a)):
    a[i] = r*a[i-1]-d
for ans in a:
    print(ans)

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

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

for _ in range(10):
  x = calc_weight(r, d, 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):
import sys
input = sys.stdin.readline

def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

r,d,x0=MI()
answers=[]
x=x0
for i in range(10):
    x=r*x-d
    answers.append(x)

for ans in answers:
    print(ans)

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

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

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

Solution (Python):
import sys







from operator import attrgetter, itemgetter






readline = sys.stdin.readline
MOD = 10 ** 9 + 7
INF = float('INF')
sys.setrecursionlimit(10 ** 5)


def main():
    r, d, x1 = list(map(int, readline().split()))

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


if __name__ == '__main__':
    main()

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

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

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


if __name__ == '__main__':
    q2()

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

input = sys.stdin.readline


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

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


if __name__ == "__main__":
    main()

Solution (Python):

import sys
input = sys.stdin.readline











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 = tuple([int(t)for t in input().split()])

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

    for a in xs[1:]:
        print(a)

if __name__ == "__main__":
    main()

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

Solution (Python):
import sys
input = lambda: sys.stdin.readline().rstrip()
input_nums = lambda: list(map(int, input().split()))

def main():
    r, D, x = input_nums()
    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):
    x = r*x - d
    print(x)

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

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

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):
  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 = [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())
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,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(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):
INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
LISTS = lambda: list(map(str,input().split()))
def do():
    r,d,x=INTM()
    for i in range(10):
        x=r*x-d
        print(x)
if __name__ == '__main__':
    do()

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

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())
A = [r*x-D]
print(A[0])
for i in range(9):
    print(r*A[i]-D)
    A.append(r*A[i]-D)

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

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

Solution (Python):
def ii():return int(input())
def iim():return map(int,input().split())
def iil():return list(map(int,input().split()))
r,d,x=iim()

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

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

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

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

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(1, 11):
  x = r * x - D
  print(x)

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

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

    tmp = r*tmp-d

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

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

year=[None]*11
year[0]=x2000
for i in range(0, 10):
    print(next(year[i]))
    year[i+1]=next(year[i])

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

d = [0] * 11
d[0] = x

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

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

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

Solution (Python):



def main():
    r, D, x = list(map(int, input().split()))
    for _ 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):
    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_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))

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

for i in range(10):
  ans = r*x-d
  x = ans
  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())
ans=[x2000]
for i in range(10):
    A=r*ans[i]-D
    ans.append(A)
    print(A)

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

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

Solution (Python):
def solve():
    N, M, L = map(int, input().split())
    
    a = L
    for i in range(10):
        a = N*a - M
        print(a)




solve()

Solution (Python):












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

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

for _ in range(10):
    print(solve(r,d,x))
    x = 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())
for i in range(10):x=r*x-d;print(x)

Solution (Python):
import sys
from bisect import *
from heapq import *
from collections import *
from itertools import *
from functools import *
from math import *

sys.setrecursionlimit(100000000)
input = lambda: sys.stdin.readline().rstrip()

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

Solution (Python):
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

r, D, x = MAP()

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

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

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

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

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

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

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

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

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

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

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

for i in range(1,11):
    print(result)
    result=r*result-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())
ans=[x]
for i in range(10):  
  tmp = r*ans[i] - D
  ans.append(tmp)
  print(tmp)

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, x2000 = map(int, input().split())
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(1, 11):
    x = r * x - D
    print(x)

Solution (Python):
r, d, xs = map(int, input().split())
li = []
xi = 0
for i in range(10):
    xi = r*xs-d
    li.append(xi)
    xs = xi

for i in li:
    print(i)

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())
X = [0]*11
X[0] = x
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):
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())

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

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

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

Solution (Python):
r, d , x = map(int, input().split())
cnt = 0
print(r * x - d)
while cnt <= 8:
    x = r * x - d
    print(r * x - d)
    cnt += 1

Solution (Python):
r, D, x = map(int, input().split(" "))
for i in range(1,10+1):
    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 = list(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):
N,D,x = map(int, input().split())

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

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

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

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

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

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

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

Solution (Python):


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

Solution (Python):
x = [0] * 2011
r, d, x[2000] = map(int, input().split())

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

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

Solution (Python):
r,D,x= [int(i) for i in input().split()]
def xa(x):
    return r*x-D
for i in range(10):
    ans = xa(x)
    x = ans
    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())

x = r * x - d
print(x)

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

Solution (Python):


import numpy as np
'''a,b= map(int,input().split())'''




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

Solution (Python):
def task():
	a=input().split()
	r=int(a[0])
	d=int(a[1])
	x=int(a[2])
	for i in range (10):
		print((r*x)-d)
		x=(r*x-d)
		
t=1
while(t>0):
		task()
		t-=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(2001,2011):
  x = r * x - D
  print(x)

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

a = [0]*10
a[0] = r*x-d
print(a[0])
for i in range(1, 10):
  s = r*a[i-1] -d
  a[i] = s
  print(s)

Solution (Python):
from sys import stdin

r, d, x = (int(x) for x in stdin.readline().rstrip().split())

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

Solution (Python):
r, D, x = [int(num) for num in 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,x=map(int,input().split())

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

Solution (Python):

import sys



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    r = int(next(tokens))  
    D= int(next(tokens))  
    X= int(next(tokens))  
    for i in range(10):
        X = r*X - D
        print(X)
    pass

if __name__ == '__main__':
    main()

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

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

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

s = x
for i in range(10):
    s = s * r - d
    l.append(str(s))

ans="\n".join(l)
print(ans)

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

x_prev = x_2000
i = 1
while True:
    x = r * x_prev - D
    print(x)
    x_prev = x
    if i == 10:
        break
    i += 1

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

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

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

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

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

Solution (Python):

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

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

Solution (Python):



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

if __name__=='__main__':
  main()

Solution (Python):
import math
import string


def readints():
    return list(map(int, input().split()))


def nCr(n, r):
    return math.factorial(n)//math.factorial(n-r)*math.factorial(r)


r, D, x = map(int, input().split())
xx = []
xx.append(r*x-D)
print(r*x-D)
for i in range(9):
    a = r*xx[i]-D
    print(a)
    xx.append(a)

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

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

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

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

x_prev = x0
for _ in range(10):
  weight = r * x_prev - D
  print(weight)
  x_prev = weight

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

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

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

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

for i in range(10):
    next_x = rate * current_x - D
    print(next_x)
    current_x = next_x

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

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

for j in range(len(x)):
    print(x[j])

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

def f(x, i):
    i += 1
    if i > 10:
        return
    x = x * r - D
    print(x)
    f(x, i)

i = 0
f(x_2000, i)

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

ans = x
for i in range(1, 11):
    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)