import sys
sys.setrecursionlimit(10 ** 5 + 10)
def input(): return sys.stdin.readline().strip()

def resolve():
    r,d,x=map(int, input().split())
    for i in range(10):
        x=r*x-d
        print(x)

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

def resolve():
    r,d,x=map(int, input().split())
    for i in range(10):
        x=r*x-d
        print(x)

resolve()
