import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10**8)
INF = float('inf')
MOD = 10**9+7


def main():
  r, D, x = map(int, readline().split())
  for _ in range(10):
    x = r*x -D
    print(x)
  
  
if __name__ == '__main__':
  main() import sys sys read = sys.stdin.buffer.read read sys.stdin.buffer.read sys.stdin.buffer sys.stdin sys stdin buffer read readline = sys.stdin.buffer.readline readline sys.stdin.buffer.readline sys.stdin.buffer sys.stdin sys stdin buffer readline readlines = sys.stdin.buffer.readlines readlines sys.stdin.buffer.readlines sys.stdin.buffer sys.stdin sys stdin buffer readlines sys.setrecursionlimit(10**8) sys.setrecursionlimit sys setrecursionlimit 10**8 10 8 INF = float('inf') INF float('inf') float 'inf' MOD = 10**9+7 MOD 10**9+7 10**9 10 9 7 def main():
  r, D, x = map(int, readline().split())
  for _ in range(10):
    x = r*x -D
    print(x)
  
   main r, D, x = map(int, readline().split()) r map(int, readline().split()) map int readline().split() ().split () readline split D x for _ in range(10):
    x = r*x -D
    print(x)
  
   _ range(10) range 10 x = r*x -D x r*x -D r*x r x D print(x) print x if __name__ == '__main__':
  main() __name__ == '__main__' __name__ '__main__' main() main INF = float('inf') float('inf') INF MOD = 10**9+7 10**9+7 MOD def main():
  r, D, x = map(int, readline().split())
  for _ in range(10):
    x = r*x -D
    print(x)
  
   def main():
  r, D, x = map(int, readline().split())
  for _ in range(10):
    x = r*x -D
    print(x)
  
   main read = sys.stdin.buffer.read sys.stdin.buffer.read read readline = sys.stdin.buffer.readline sys.stdin.buffer.readline readline readlines = sys.stdin.buffer.readlines sys.stdin.buffer.readlines readlines
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10**8)
INF = float('inf')
MOD = 10**9+7


def main():
  r, D, x = map(int, readline().split())
  for _ in range(10):
    x = r*x -D
    print(x)
  
  
if __name__ == '__main__':
  main()