import sys

# import bisect
# from collections import Counter, deque, defaultdict
# import copy
# from heapq import heappush, heappop, heapify
# from fractions import gcd
# import itertools
from operator import attrgetter, itemgetter

# import math

# from numba import jit
# import numpy as np

readline = sys.stdin.readline
MOD = 10 ** 9 + 7
INF = float('INF')
sys.setrecursionlimit(10 ** 5)


def main():
    r, d, x1 = list(map(int, readline().split()))

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


if __name__ == '__main__':
    main() import sys sys from operator import attrgetter, itemgetter readline = sys.stdin.readline readline sys.stdin.readline sys.stdin sys stdin readline MOD = 10 ** 9 + 7 MOD 10 ** 9 + 7 10 ** 9 10 9 7 INF = float('INF') INF float('INF') float 'INF' sys.setrecursionlimit(10 ** 5) sys.setrecursionlimit sys setrecursionlimit 10 ** 5 10 5 def main():
    r, d, x1 = list(map(int, readline().split()))

    xc = x1
    for i in range(10):
        xc = xc * r - d
        print(xc) main r, d, x1 = list(map(int, readline().split())) r list(map(int, readline().split())) list map(int, readline().split()) map int readline().split() ().split () readline split d x1 xc = x1 xc x1 for i in range(10):
        xc = xc * r - d
        print(xc) i range(10) range 10 xc = xc * r - d xc xc * r - d xc * r xc r d print(xc) print xc if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main INF = float('INF') float('INF') INF def main():
    r, d, x1 = list(map(int, readline().split()))

    xc = x1
    for i in range(10):
        xc = xc * r - d
        print(xc) def main():
    r, d, x1 = list(map(int, readline().split()))

    xc = x1
    for i in range(10):
        xc = xc * r - d
        print(xc) main readline = sys.stdin.readline sys.stdin.readline readline MOD = 10 ** 9 + 7 10 ** 9 + 7 MOD
import sys

# import bisect
# from collections import Counter, deque, defaultdict
# import copy
# from heapq import heappush, heappop, heapify
# from fractions import gcd
# import itertools
from operator import attrgetter, itemgetter

# import math

# from numba import jit
# import numpy as np

readline = sys.stdin.readline
MOD = 10 ** 9 + 7
INF = float('INF')
sys.setrecursionlimit(10 ** 5)


def main():
    r, d, x1 = list(map(int, readline().split()))

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


if __name__ == '__main__':
    main()
