import itertools

x=[0]*1000

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



for i in range(0,99):

    x[i+1]=r*x[i]-D

for i in range(10):

    print((x[i+1]))

import itertools

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



for i in range(10):

    x=r*x-D

    print(x)

import itertools

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

import itertools

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

-x = [0] * 1000 -r, D, x[0] = list(map(int, input().split())) -for i in range(0, 99): -    x[i + 1] = r * x[i] - D +r, D, x = list(map(int, input().split())) -    print((x[i + 1])) +    x = r * x - D +    print(x)