from sys import exit

ii = lambda : int(input())
mi = lambda : map(int,input().split())
li = lambda : list(map(int,input().split()))

r,d,x = mi()
ans=x
for i in range(10):
    ans = r*ans - d
    print(ans) from sys import exit ii = lambda : int(input()) ii lambda : int(input()) int(input()) int input() input mi = lambda : map(int,input().split()) mi lambda : map(int,input().split()) map(int,input().split()) map int input().split() ().split () input split li = lambda : list(map(int,input().split())) li lambda : list(map(int,input().split())) list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split r,d,x = mi() r mi() mi d x ans=x ans x for i in range(10):
    ans = r*ans - d
    print(ans) i range(10) range 10 ans = r*ans - d ans r*ans - d r*ans r ans d print(ans) print ans d,x = mi() mi() d r,d,x = mi() mi() r ans = r*ans - d r*ans - d ans mi = lambda : map(int,input().split()) lambda : map(int,input().split()) mi li = lambda : list(map(int,input().split())) lambda : list(map(int,input().split())) li x = mi() mi() x ans=x x ans ii = lambda : int(input()) lambda : int(input()) ii
from sys import exit

ii = lambda : int(input())
mi = lambda : map(int,input().split())
li = lambda : list(map(int,input().split()))

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