def solve():
  r, d, x = map(int, input().split())
  for i in range(10):
    x = r*x-d
    print(x)
  return 0
 
if __name__ == "__main__":
  solve() def solve():
  r, d, x = map(int, input().split())
  for i in range(10):
    x = r*x-d
    print(x)
  return 0
  solve r, d, x = map(int, input().split()) r map(int, input().split()) map int input().split() ().split () input split 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 return 0 0 if __name__ == "__main__":
  solve() __name__ == "__main__" __name__ "__main__" solve() solve def solve():
  r, d, x = map(int, input().split())
  for i in range(10):
    x = r*x-d
    print(x)
  return 0
  def solve():
  r, d, x = map(int, input().split())
  for i in range(10):
    x = r*x-d
    print(x)
  return 0
  solve
def solve():
  r, d, x = map(int, input().split())
  for i in range(10):
    x = r*x-d
    print(x)
  return 0
 
if __name__ == "__main__":
  solve()
