import sys, math
from collections import defaultdict, deque, Counter
from bisect import bisect_left, bisect_right
from itertools import combinations, permutations, product
from heapq import heappush, heappop
from functools import lru_cache
input = sys.stdin.readline
rs = lambda: input().strip()
ri = lambda: int(input())
rl = lambda: list(map(int, input().split()))
mod = 1000000007
sys.setrecursionlimit(1000000)

r, D, x = rl()

for i in range(1, 11):
	x = r*x-D
	print(x) import sys, math sys math from collections import defaultdict, deque, Counter from bisect import bisect_left, bisect_right from itertools import combinations, permutations, product from heapq import heappush, heappop from functools import lru_cache input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline rs = lambda: input().strip() rs lambda: input().strip() input().strip() ().strip () input strip ri = lambda: int(input()) ri lambda: int(input()) int(input()) int input() input rl = lambda: list(map(int, input().split())) rl lambda: list(map(int, input().split())) list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split mod = 1000000007 mod 1000000007 sys.setrecursionlimit(1000000) sys.setrecursionlimit sys setrecursionlimit 1000000 r, D, x = rl() r rl() rl 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 D, x = rl() rl() D x = r*x-D r*x-D x rl = lambda: list(map(int, input().split())) lambda: list(map(int, input().split())) rl x = rl() rl() x rs = lambda: input().strip() lambda: input().strip() rs mod = 1000000007 1000000007 mod input = sys.stdin.readline sys.stdin.readline input ri = lambda: int(input()) lambda: int(input()) ri r, D, x = rl() rl() r
import sys, math
from collections import defaultdict, deque, Counter
from bisect import bisect_left, bisect_right
from itertools import combinations, permutations, product
from heapq import heappush, heappop
from functools import lru_cache
input = sys.stdin.readline
rs = lambda: input().strip()
ri = lambda: int(input())
rl = lambda: list(map(int, input().split()))
mod = 1000000007
sys.setrecursionlimit(1000000)

r, D, x = rl()

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