# coding: utf-8
import sys

sr = lambda: sys.stdin.readline().rstrip()
ir = lambda: int(sr())
lr = lambda: list(map(int, sr().split()))

R, D, X = lr()
for i in range(1, 11):
    X = R * X - D
    print(X) import sys sys sr = lambda: sys.stdin.readline().rstrip() sr lambda: sys.stdin.readline().rstrip() sys.stdin.readline().rstrip() sys.stdin.readline().rstrip sys.stdin.readline() sys.stdin.readline sys.stdin sys stdin readline rstrip ir = lambda: int(sr()) ir lambda: int(sr()) int(sr()) int sr() sr lr = lambda: list(map(int, sr().split())) lr lambda: list(map(int, sr().split())) list(map(int, sr().split())) list map(int, sr().split()) map int sr().split() ().split () sr split R, D, X = lr() R lr() lr D X for i in range(1, 11):
    X = R * X - D
    print(X) i range(1, 11) range 1 11 X = R * X - D X R * X - D R * X R X D print(X) print X X = lr() lr() X sr = lambda: sys.stdin.readline().rstrip() lambda: sys.stdin.readline().rstrip() sr X = R * X - D R * X - D X ir = lambda: int(sr()) lambda: int(sr()) ir lr = lambda: list(map(int, sr().split())) lambda: list(map(int, sr().split())) lr D, X = lr() lr() D R, D, X = lr() lr() R
# coding: utf-8
import sys

sr = lambda: sys.stdin.readline().rstrip()
ir = lambda: int(sr())
lr = lambda: list(map(int, sr().split()))

R, D, X = lr()
for i in range(1, 11):
    X = R * X - D
    print(X)