from sys import stdin

r, d, x = (int(x) for x in stdin.readline().rstrip().split())

for i in range(1, 11):
    print(r*x - d)
    x = r*x - d from sys import stdin int(x) for x in stdin.readline().rstrip().split() for x in stdin.readline().rstrip().split() x stdin.readline().rstrip().split() stdin.readline().rstrip().split stdin.readline().rstrip() stdin.readline().rstrip stdin.readline() stdin.readline stdin readline rstrip split for x in stdin.readline().rstrip().split() int(x) int x r, d, x = (int(x) for x in stdin.readline().rstrip().split()) r (int(x) for x in stdin.readline().rstrip().split()) d x for i in range(1, 11):
    print(r*x - d)
    x = r*x - d i range(1, 11) range 1 11 print(r*x - d) print r*x - d r*x r x d x = r*x - d x r*x - d r*x r x d r, d, x = (int(x) for x in stdin.readline().rstrip().split()) (int(x) for x in stdin.readline().rstrip().split()) r x = r*x - d r*x - d x d, x = (int(x) for x in stdin.readline().rstrip().split()) (int(x) for x in stdin.readline().rstrip().split()) d x = (int(x) for x in stdin.readline().rstrip().split()) (int(x) for x in stdin.readline().rstrip().split()) x
from sys import stdin

r, d, x = (int(x) for x in stdin.readline().rstrip().split())

for i in range(1, 11):
    print(r*x - d)
    x = r*x - d