import sys
input = sys.stdin.readline
r, D, x = map(int, input().split())
for _ in range(1, 11):
  print(r * x - D)
  x = r * x - D import sys sys input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline r, D, x = map(int, input().split()) r map(int, input().split()) map int input().split() ().split () input split D x for _ in range(1, 11):
  print(r * x - D)
  x = r * x - D _ range(1, 11) range 1 11 print(r * x - D) print r * x - D r * x r x D x = r * x - D x r * x - D r * x r x D x = map(int, input().split()) map(int, input().split()) x D, x = map(int, input().split()) map(int, input().split()) D input = sys.stdin.readline sys.stdin.readline input r, D, x = map(int, input().split()) map(int, input().split()) r x = r * x - D r * x - D x
import sys
input = sys.stdin.readline
r, D, x = map(int, input().split())
for _ in range(1, 11):
  print(r * x - D)
  x = r * x - D