output_description: Print 10 lines. The i-th line (1 ≤ i ≤ 10) should contain x_{2000+i} as an
  integer.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      r D x_{2000}
attempt: r, d, x = map(int, input().split())
  num1 = r * x - d
  num2 = num1 * r - d
  num3 = num2 * r - d
  num4 = num3 * r - d
  num5 = num4 * r - d
  num6 = num5 * r - d
  num7 = num6 * r - d
  num8 = num7 * r - d
  num9 = num8 * r - d
  num10 = num9 * r - d
  print(num1)
  print(num2)
  print(num3)
  print(num4)
  print(num5)
  print(num6)
  print(num7)
  print(num8)
  print(num9)
  print(num10)
  
problem_description: Statement
  
  The development of algae in a pond is as follows.
  
  Let the total weight of the algae at the beginning of the year i be x_i gram.
  For i≥2000, the following formula holds:
  
    * x_{i+1} = rx_i - D
  
  You are given r, D and x_{2000}. Calculate x_{2001}, ..., x_{2010} and print
  them in order.
samples: [{"input": "2 10 20", "output": "30\n    50\n    90\n    170\n    330\n    650\n    1290\n    2570\n    5130\n    10250\n    \n\nFor example, x_{2001} = rx_{2000} - D = 2 \\times 20 - 10 = 30 and x_{2002} =\nrx_{2001} - D = 2 \\times 30 - 10 = 50.\n\n* * *"}, {"input": "4 40 60", "output": "200\n    760\n    3000\n    11960\n    47800\n    191160\n    764600\n    3058360\n    12233400\n    48933560"}]