import sys
sys.setrecursionlimit(10**6)

#a = int(input())
#b = list(map(int, input().split()))
r, d, x = map(int, input().split())
#s = input()
#s,t = input().split()
#a = [int(input()) for _ in range(n)]
#
#readline = sys.stdin.readline
#n,m = [int(i) for i in readline().split()]
#ab = [[int(i) for i in readline().split()] for _ in range(n)]

ans = []
for i in range(1,11):
    x = r*x - d
    ans.append(x)
print(*ans) import sys sys sys.setrecursionlimit(10**6) sys.setrecursionlimit sys setrecursionlimit 10**6 10 6 r, d, x = map(int, input().split()) r map(int, input().split()) map int input().split() ().split () input split d x ans = [] ans [] for i in range(1,11):
    x = r*x - d
    ans.append(x) i range(1,11) range 1 11 x = r*x - d x r*x - d r*x r x d ans.append(x) ans.append ans append x print(*ans) print *ans ans x = r*x - d r*x - d x d, x = map(int, input().split()) map(int, input().split()) d r, d, x = map(int, input().split()) map(int, input().split()) r ans = [] [] ans x = map(int, input().split()) map(int, input().split()) x
import sys
sys.setrecursionlimit(10**6)

#a = int(input())
#b = list(map(int, input().split()))
r, d, x = map(int, input().split())
#s = input()
#s,t = input().split()
#a = [int(input()) for _ in range(n)]
#
#readline = sys.stdin.readline
#n,m = [int(i) for i in readline().split()]
#ab = [[int(i) for i in readline().split()] for _ in range(n)]

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