import sys

stdin = sys.stdin
def ns(): return stdin.readline().rstrip()
def ni(): return int(stdin.readline().rstrip())
def nm(): return map(int, stdin.readline().split())
def nl(): return list(map(int, stdin.readline().split()))


r, d, x = nm()
for i in range(10):
    x = r * x - d
    print(x) import sys sys stdin = sys.stdin stdin sys.stdin sys stdin def ns(): return stdin.readline().rstrip() ns def ni(): return int(stdin.readline().rstrip()) ni def nm(): return map(int, stdin.readline().split()) nm def nl(): return list(map(int, stdin.readline().split())) nl r, d, x = nm() r nm() nm 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 d, x = nm() nm() d r, d, x = nm() nm() r x = r * x - d r * x - d x stdin = sys.stdin sys.stdin stdin def ns(): return stdin.readline().rstrip() def ns(): return stdin.readline().rstrip() ns def nl(): return list(map(int, stdin.readline().split())) def nl(): return list(map(int, stdin.readline().split())) nl def ni(): return int(stdin.readline().rstrip()) def ni(): return int(stdin.readline().rstrip()) ni def nm(): return map(int, stdin.readline().split()) def nm(): return map(int, stdin.readline().split()) nm x = nm() nm() x
import sys

stdin = sys.stdin
def ns(): return stdin.readline().rstrip()
def ni(): return int(stdin.readline().rstrip())
def nm(): return map(int, stdin.readline().split())
def nl(): return list(map(int, stdin.readline().split()))


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