import math
import time
from collections import defaultdict, deque
from sys import stdin, stdout
from bisect import bisect_left, bisect_right
r,d,x=map(int,stdin.readline().split())
ans=x 
for _ in range(10):
    ans=(r*ans)-d 
    print(ans) import math math import time time from collections import defaultdict, deque from sys import stdin, stdout from bisect import bisect_left, bisect_right r,d,x=map(int,stdin.readline().split()) r map(int,stdin.readline().split()) map int stdin.readline().split() stdin.readline().split stdin.readline() stdin.readline stdin readline split d x ans=x ans x for _ in range(10):
    ans=(r*ans)-d 
    print(ans) _ range(10) range 10 ans=(r*ans)-d ans (r*ans)-d r*ans r ans d print(ans) print ans d,x=map(int,stdin.readline().split()) map(int,stdin.readline().split()) d ans=x x ans x=map(int,stdin.readline().split()) map(int,stdin.readline().split()) x r,d,x=map(int,stdin.readline().split()) map(int,stdin.readline().split()) r ans=(r*ans)-d (r*ans)-d ans
import math
import time
from collections import defaultdict, deque
from sys import stdin, stdout
from bisect import bisect_left, bisect_right
r,d,x=map(int,stdin.readline().split())
ans=x 
for _ in range(10):
    ans=(r*ans)-d 
    print(ans)