import itertools
import math
import fractions
import functools
import copy
r, d, x = map(int, input().split())

for i in range(10):
    x = r*x-d
    print(x) import itertools itertools import math math import fractions fractions import functools functools import copy copy 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 x = r*x-d r*x-d x d, x = map(int, input().split()) map(int, input().split()) d r, d, x = map(int, input().split()) map(int, input().split()) r x = map(int, input().split()) map(int, input().split()) x
import itertools
import math
import fractions
import functools
import copy
r, d, x = map(int, input().split())

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