# coding: utf-8

# Your code here!

R, D, X = list(map(int, input().split()))



Plus = X

for i in range(10):

    print(((R*Plus)-D))

    Plus=(R*Plus)-D
R,D,X=list(map(int, input().split()))

Plus=X

for i in range(10):

    print(((Plus*R)-D))

    Plus=((Plus*R)-D)
# coding: utf-8
# Your code here!
R, D, X = list(map(int, input().split()))
Plus = X
for i in range(10):
    print(((R * Plus) - D))
    Plus = (R * Plus) - D

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

-# coding: utf-8 -# Your code here! -    print(((R * Plus) - D)) -    Plus = (R * Plus) - D +    print(((Plus * R) - D)) +    Plus = (Plus * R) - D