factor, sub, year = map(int, input().split())
weight = 0

for x in range(1, 11):
    if x == 1:
        weight = factor * year * x - sub
    else:
        weight = factor * weight - sub
    print(weight) factor, sub, year = map(int, input().split()) factor map(int, input().split()) map int input().split() ().split () input split sub year weight = 0 weight 0 for x in range(1, 11):
    if x == 1:
        weight = factor * year * x - sub
    else:
        weight = factor * weight - sub
    print(weight) x range(1, 11) range 1 11 if x == 1:
        weight = factor * year * x - sub
    else:
        weight = factor * weight - sub
     x == 1 x 1 weight = factor * year * x - sub weight factor * year * x - sub factor * year * x factor * year factor year x sub weight = factor * weight - sub weight factor * weight - sub factor * weight factor weight sub print(weight) print weight weight = 0 0 weight factor, sub, year = map(int, input().split()) map(int, input().split()) factor year = map(int, input().split()) map(int, input().split()) year sub, year = map(int, input().split()) map(int, input().split()) sub weight = factor * weight - sub factor * weight - sub weight weight = factor * year * x - sub factor * year * x - sub weight
factor, sub, year = map(int, input().split())
weight = 0

for x in range(1, 11):
    if x == 1:
        weight = factor * year * x - sub
    else:
        weight = factor * weight - sub
    print(weight)
