Problem:
 Score : 200 points    Problem 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.      Constraints  2 ≤ r ≤ 5  1 ≤ D ≤ 100  D < x_{2000} ≤ 200  All values in input are integers.         Input Input is given from Standard Input in the following format:  r  D  x_{2000}       Output Print 10 lines. The i -th line ( 1 ≤ i ≤ 10 ) should contain x_{2000+i} as an integer.        Sample Input 1 2 10 20      Sample Output 1 30
50
90
170
330
650
1290
2570
5130
10250  For example, x_{2001} = rx_{2000} - D = 2 \times 20 - 10 = 30 and x_{2002} = rx_{2001} - D = 2 \times 30 - 10 = 50 .       Sample Input 2 4 40 60      Sample Output 2 200
760
3000
11960
47800
191160
764600
3058360
12233400
48933560

Solution (Python):
r,D,x2000 = map(int,input().split())

ans = [x2000]

for i in range(10) :
    ans.append(ans[-1]*r - D)
ans.pop(0)
print(*ans,sep="\n")

Solution (Python):
r, D, x = list(map(int, input().split()))

for i in range(10):
    x = r * x - D
    print(x)

Solution (Python):
r,D,x0 = map(int,input().split())
ans = x0
for i in range(10):
    ans = r * ans - D
    print(ans)

Solution (Python):
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time

sys.setrecursionlimit(10**7)
inf=10**20
mod=10**9+7

def LI(): return list(map(int,input().split()))
def II(): return int(input())
def LS(): return input().split()
def S(): return input()

def main():
  r,d,x0=LI()
  for i in range(10):
    x=r*x0-d
    print(x)
    x0=x

main()

Solution (Python):
r, D, x = map(int, input().split())
for i in range(10):
    x = r * x - D
    print(x)

Solution (Python):


from collections import deque
import itertools as ite
import sys
import math

sys.setrecursionlimit(1000000)

INF = 10 ** 18
MOD = 10 ** 9 + 7

r, D, x = map(int, raw_input().split())

for i in range(10):
    x = x * r - D
    print x

Solution (Python):
r,d,x = (int(i) for i in input().split())

for i in range(1,11):
    x = r*x-d
    print(x)

Solution (Python):
r, D, x = [int(i) for i in input().split()]
for i in range(10):
    x = r * x - D
    print(x)

Solution (Python):
r, D, x = list(map(int, input().split()))

for i in range(10):
  x = r * x - D
  print(x)

Solution (Python):
r,D,x=map(int,input().split())
for i in range(1,11):
    x=r*x-D
    print(x)

Solution (Python):
r, d, x = map(int, input().split())
for i in range(10):
    x = r * x - d
    print(x)

Solution (Python):
r,d,x = map(int,input().split())
for i in range(10):
    x = r * x - d
    print(x)

Solution (Python):
import math, string, itertools, fractions, heapq, collections, re, array, bisect, copy, functools, random
import sys
from collections import deque, defaultdict, Counter; from heapq import heappush, heappop
from itertools import permutations, combinations, product, accumulate, groupby
from bisect import bisect_left, bisect_right, insort_left, insort_right
from operator import itemgetter as ig
sys.setrecursionlimit(10 ** 7)
inf = 10 ** 20; INF = float("INF"); ans = 0; tmp = 0; ansli = []; tmpli = []; candili = []
eps = 1.0 / 10 ** 10; mod = 10 ** 9 + 7
dd = [(-1, 0), (0, 1), (1, 0), (0, -1)]; ddn = dd + [(-1, 1), (1, 1), (1, -1), (-1, -1)]; ddn9 = ddn + [(0, 0)]
"""for dx, dy in dd:
        nx = j + dx; ny = i + dy
            if 0 <= nx < w and 0 <= ny < h:"""
def wi(): return list(map(int, sys.stdin.readline().split()))
def wip(): return [int(x) - 1 for x in sys.stdin.readline().split()]
def ws(): return sys.stdin.readline().split()
def i(): return int(sys.stdin.readline())
def s(): return input()
def hi(n): return [i() for _ in range(n)]
def hs(n): return [s() for _ in range(n)]
def mi(n): return [wi() for _ in range(n)]
def mip(n): return [wip() for _ in range(n)]
def ms(n): return [ws() for _ in range(n)]

r, d, x2000 = wi()
for i in range(10):
    x2000 = r * x2000 - d
    print(x2000)

Solution (Python):
r, d, x = map(int, input().split())
for i in range(10):
    x = r * x - d
    print(x)

Solution (Python):


def main():
    r, D, x = map(int, input().split())

    for i in range(0, 10):
        x = r *x - D
        print(x)


if __name__ == '__main__':
    main()

Solution (Python):
I=lambda:map(int,input().split())
r,D,x=I()
for i in range(10):
    x=r*x-D
    print(x)

Solution (Python):
r, D, x = map(int, input().split())
for i in range(1, 11):
    x = r*x-D
    print(x)