INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
LISTS = lambda: list(map(str,input().split()))
def do():
    r,d,x=INTM()
    for i in range(10):
        x=r*x-d
        print(x)
if __name__ == '__main__':
    do() INT = lambda: int(input()) INT lambda: int(input()) int(input()) int input() input INTM = lambda: map(int,input().split()) INTM lambda: map(int,input().split()) map(int,input().split()) map int input().split() ().split () input split STRM = lambda: map(str,input().split()) STRM lambda: map(str,input().split()) map(str,input().split()) map str input().split() ().split () input split STR = lambda: str(input()) STR lambda: str(input()) str(input()) str input() input LIST = lambda: list(map(int,input().split())) LIST lambda: list(map(int,input().split())) list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split LISTS = lambda: list(map(str,input().split())) LISTS lambda: list(map(str,input().split())) list(map(str,input().split())) list map(str,input().split()) map str input().split() ().split () input split def do():
    r,d,x=INTM()
    for i in range(10):
        x=r*x-d
        print(x) do r,d,x=INTM() r INTM() INTM 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 if __name__ == '__main__':
    do() __name__ == '__main__' __name__ '__main__' do() do INTM = lambda: map(int,input().split()) lambda: map(int,input().split()) INTM INT = lambda: int(input()) lambda: int(input()) INT STR = lambda: str(input()) lambda: str(input()) STR LISTS = lambda: list(map(str,input().split())) lambda: list(map(str,input().split())) LISTS def do():
    r,d,x=INTM()
    for i in range(10):
        x=r*x-d
        print(x) def do():
    r,d,x=INTM()
    for i in range(10):
        x=r*x-d
        print(x) do STRM = lambda: map(str,input().split()) lambda: map(str,input().split()) STRM LIST = lambda: list(map(int,input().split())) lambda: list(map(int,input().split())) LIST
INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
LISTS = lambda: list(map(str,input().split()))
def do():
    r,d,x=INTM()
    for i in range(10):
        x=r*x-d
        print(x)
if __name__ == '__main__':
    do()