import sys
import heapq
import math
import fractions
import bisect
import itertools
from collections import Counter
from collections import deque
from operator import itemgetter
def input(): return sys.stdin.readline().strip()
def mp(): return map(int,input().split())
def lmp(): return list(map(int,input().split()))

r,d,x=mp()
for i in range(10):
    x=r*x-d
    print(x) import sys sys import heapq heapq import math math import fractions fractions import bisect bisect import itertools itertools from collections import Counter from collections import deque from operator import itemgetter def input(): return sys.stdin.readline().strip() input def mp(): return map(int,input().split()) mp def lmp(): return list(map(int,input().split())) lmp r,d,x=mp() r mp() mp 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=mp() mp() x r,d,x=mp() mp() r x=r*x-d r*x-d x def lmp(): return list(map(int,input().split())) def lmp(): return list(map(int,input().split())) lmp d,x=mp() mp() d def mp(): return map(int,input().split()) def mp(): return map(int,input().split()) mp def input(): return sys.stdin.readline().strip() def input(): return sys.stdin.readline().strip() input
import sys
import heapq
import math
import fractions
import bisect
import itertools
from collections import Counter
from collections import deque
from operator import itemgetter
def input(): return sys.stdin.readline().strip()
def mp(): return map(int,input().split())
def lmp(): return list(map(int,input().split()))

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