import sys

def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())

r,D,x = LI()
temp = x
for _ in range(10):
   temp = r * temp - D
   print(temp) import sys sys def I(): return int(sys.stdin.readline().rstrip()) I def LI(): return list(map(int,sys.stdin.readline().rstrip().split())) LI def S(): return sys.stdin.readline().rstrip() S def LS(): return list(sys.stdin.readline().rstrip().split()) LS r,D,x = LI() r LI() LI D x temp = x temp x for _ in range(10):
   temp = r * temp - D
   print(temp) _ range(10) range 10 temp = r * temp - D temp r * temp - D r * temp r temp D print(temp) print temp def I(): return int(sys.stdin.readline().rstrip()) def I(): return int(sys.stdin.readline().rstrip()) I def LI(): return list(map(int,sys.stdin.readline().rstrip().split())) def LI(): return list(map(int,sys.stdin.readline().rstrip().split())) LI def LS(): return list(sys.stdin.readline().rstrip().split()) def LS(): return list(sys.stdin.readline().rstrip().split()) LS temp = x x temp D,x = LI() LI() D def S(): return sys.stdin.readline().rstrip() def S(): return sys.stdin.readline().rstrip() S r,D,x = LI() LI() r x = LI() LI() x temp = r * temp - D r * temp - D temp
import sys

def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())

r,D,x = LI()
temp = x
for _ in range(10):
   temp = r * temp - D
   print(temp)