import sys
input = sys.stdin.readline

r,D,x=list(map(int,input().split()))
for i in range(1,10+1):
    x = r*x-D
    print(x) import sys sys input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline r,D,x=list(map(int,input().split())) r list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split D x for i in range(1,10+1):
    x = r*x-D
    print(x) i range(1,10+1) range 1 10+1 10 1 x = r*x-D x r*x-D r*x r x D print(x) print x input = sys.stdin.readline sys.stdin.readline input D,x=list(map(int,input().split())) list(map(int,input().split())) D x = r*x-D r*x-D x r,D,x=list(map(int,input().split())) list(map(int,input().split())) r x=list(map(int,input().split())) list(map(int,input().split())) x
import sys
input = sys.stdin.readline

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