r, d, x = [int(x) for x in input().split()]
for i in range(2001, 2011):
  x = r * x - d
  print(x) int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x r, d, x = [int(x) for x in input().split()] r [int(x) for x in input().split()] d x for i in range(2001, 2011):
  x = r * x - d
  print(x) i range(2001, 2011) range 2001 2011 x = r * x - d x r * x - d r * x r x d print(x) print x r, d, x = [int(x) for x in input().split()] [int(x) for x in input().split()] r d, x = [int(x) for x in input().split()] [int(x) for x in input().split()] d x = r * x - d r * x - d x x = [int(x) for x in input().split()] [int(x) for x in input().split()] x
r, d, x = [int(x) for x in input().split()]
for i in range(2001, 2011):
  x = r * x - d
  print(x)