import sys
import math
import itertools
import bisect
from copy import copy
from collections import deque,Counter
from decimal import Decimal
import functools
def s(): return input()
def k(): return int(input())
def S(): return input().split()
def I(): return map(int,input().split())
def X(): return list(input())
def L(): return list(input().split())
def l(): return list(map(int,input().split()))
def lcm(a,b): return a*b//math.gcd(a,b)
sys.setrecursionlimit(10 ** 9)
mod = 10**9+7
cnt = 0
ans = 0
inf = float("inf")

r,d,x = I()
for i in range(10):
    x = r*x - d
    print(x) import sys sys import math math import itertools itertools import bisect bisect from copy import copy from collections import deque,Counter from decimal import Decimal import functools functools def s(): return input() s def k(): return int(input()) k def S(): return input().split() S def I(): return map(int,input().split()) I def X(): return list(input()) X def L(): return list(input().split()) L def l(): return list(map(int,input().split())) l def lcm(a,b): return a*b//math.gcd(a,b) lcm a a b b sys.setrecursionlimit(10 ** 9) sys.setrecursionlimit sys setrecursionlimit 10 ** 9 10 9 mod = 10**9+7 mod 10**9+7 10**9 10 9 7 cnt = 0 cnt 0 ans = 0 ans 0 inf = float("inf") inf float("inf") float "inf" r,d,x = I() r I() I 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 r,d,x = I() I() r mod = 10**9+7 10**9+7 mod cnt = 0 0 cnt def lcm(a,b): return a*b//math.gcd(a,b) def lcm(a,b): return a*b//math.gcd(a,b) lcm def k(): return int(input()) def k(): return int(input()) k def X(): return list(input()) def X(): return list(input()) X def s(): return input() def s(): return input() s inf = float("inf") float("inf") inf def l(): return list(map(int,input().split())) def l(): return list(map(int,input().split())) l d,x = I() I() d ans = 0 0 ans def I(): return map(int,input().split()) def I(): return map(int,input().split()) I def S(): return input().split() def S(): return input().split() S x = r*x - d r*x - d x x = I() I() x def L(): return list(input().split()) def L(): return list(input().split()) L
import sys
import math
import itertools
import bisect
from copy import copy
from collections import deque,Counter
from decimal import Decimal
import functools
def s(): return input()
def k(): return int(input())
def S(): return input().split()
def I(): return map(int,input().split())
def X(): return list(input())
def L(): return list(input().split())
def l(): return list(map(int,input().split()))
def lcm(a,b): return a*b//math.gcd(a,b)
sys.setrecursionlimit(10 ** 9)
mod = 10**9+7
cnt = 0
ans = 0
inf = float("inf")

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