import sys
from bisect import *
from heapq import *
from collections import *
from itertools import *
from functools import *
from math import *

sys.setrecursionlimit(100000000)
input = lambda: sys.stdin.readline().rstrip()

r, D, x = map(int, input().split())
for i in range(10):
    x = r * x - D
    print(x) import sys sys from bisect import * from heapq import * from collections import * from itertools import * from functools import * from math import * sys.setrecursionlimit(100000000) sys.setrecursionlimit sys setrecursionlimit 100000000 input = lambda: sys.stdin.readline().rstrip() input lambda: sys.stdin.readline().rstrip() sys.stdin.readline().rstrip() sys.stdin.readline().rstrip sys.stdin.readline() sys.stdin.readline sys.stdin sys stdin readline rstrip 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 D, x = map(int, input().split()) map(int, input().split()) D x = r * x - D r * x - D x input = lambda: sys.stdin.readline().rstrip() lambda: sys.stdin.readline().rstrip() input r, D, x = map(int, input().split()) map(int, input().split()) r x = map(int, input().split()) map(int, input().split()) x
import sys
from bisect import *
from heapq import *
from collections import *
from itertools import *
from functools import *
from math import *

sys.setrecursionlimit(100000000)
input = lambda: sys.stdin.readline().rstrip()

r, D, x = map(int, input().split())
for i in range(10):
    x = r * x - D
    print(x)
