from collections import Counter 
from collections import defaultdict
from collections import deque
import math
import itertools
import heapq
import sys
sys.setrecursionlimit(10**6)

#n=int(input())
#n,m=list(map(int,input().split()))
#a=list(map(int,input().split()))
input_list = lambda : list(map(int,input().split()))


a,b,c=input_list()
before=c
for _ in range(10):
    now=before*a-b
    print(now)
    before=now from collections import Counter from collections import defaultdict from collections import deque import math math import itertools itertools import heapq heapq import sys sys sys.setrecursionlimit(10**6) sys.setrecursionlimit sys setrecursionlimit 10**6 10 6 input_list = lambda : list(map(int,input().split())) input_list lambda : list(map(int,input().split())) list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split a,b,c=input_list() a input_list() input_list b c before=c before c for _ in range(10):
    now=before*a-b
    print(now)
    before=now _ range(10) range 10 now=before*a-b now before*a-b before*a before a b print(now) print now before=now before now b,c=input_list() input_list() b c=input_list() input_list() c input_list = lambda : list(map(int,input().split())) lambda : list(map(int,input().split())) input_list now=before*a-b before*a-b now before=now now before a,b,c=input_list() input_list() a before=c c before
from collections import Counter 
from collections import defaultdict
from collections import deque
import math
import itertools
import heapq
import sys
sys.setrecursionlimit(10**6)

#n=int(input())
#n,m=list(map(int,input().split()))
#a=list(map(int,input().split()))
input_list = lambda : list(map(int,input().split()))


a,b,c=input_list()
before=c
for _ in range(10):
    now=before*a-b
    print(now)
    before=now