def main():
  r,d,x = list(map(int,input().split()))
  for i in range(0,10):
    x=r*x-d
    print(x)
main() def main():
  r,d,x = list(map(int,input().split()))
  for i in range(0,10):
    x=r*x-d
    print(x) main 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(0,10):
    x=r*x-d
    print(x) i range(0,10) range 0 10 x=r*x-d x r*x-d r*x r x d print(x) print x main() main def main():
  r,d,x = list(map(int,input().split()))
  for i in range(0,10):
    x=r*x-d
    print(x) def main():
  r,d,x = list(map(int,input().split()))
  for i in range(0,10):
    x=r*x-d
    print(x) main
def main():
  r,d,x = list(map(int,input().split()))
  for i in range(0,10):
    x=r*x-d
    print(x)
main()