import sys
def input(): return sys.stdin.readline().strip()
def mapint(): return map(int, input().split())
sys.setrecursionlimit(10**9)

r, d, x = mapint()
for i in range(10):
    nx = r*x-d
    print(nx)
    x = nx import sys sys def input(): return sys.stdin.readline().strip() input def mapint(): return map(int, input().split()) mapint sys.setrecursionlimit(10**9) sys.setrecursionlimit sys setrecursionlimit 10**9 10 9 r, d, x = mapint() r mapint() mapint d x for i in range(10):
    nx = r*x-d
    print(nx)
    x = nx i range(10) range 10 nx = r*x-d nx r*x-d r*x r x d print(nx) print nx x = nx x nx nx = r*x-d r*x-d nx x = nx nx x x = mapint() mapint() x def input(): return sys.stdin.readline().strip() def input(): return sys.stdin.readline().strip() input r, d, x = mapint() mapint() r d, x = mapint() mapint() d def mapint(): return map(int, input().split()) def mapint(): return map(int, input().split()) mapint
import sys
def input(): return sys.stdin.readline().strip()
def mapint(): return map(int, input().split())
sys.setrecursionlimit(10**9)

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