def solve():
    r, d, x = map(int, input().split())
    for _ in range(1, 11):
        x = r * x - d
        print(x)

if __name__ == '__main__':
    solve() def solve():
    r, d, x = map(int, input().split())
    for _ in range(1, 11):
        x = r * x - d
        print(x) solve 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):
        x = r * x - d
        print(x) _ range(1, 11) range 1 11 x = r * x - d x r * x - d r * x r x d print(x) print x if __name__ == '__main__':
    solve() __name__ == '__main__' __name__ '__main__' solve() solve def solve():
    r, d, x = map(int, input().split())
    for _ in range(1, 11):
        x = r * x - d
        print(x) def solve():
    r, d, x = map(int, input().split())
    for _ in range(1, 11):
        x = r * x - d
        print(x) solve
def solve():
    r, d, x = map(int, input().split())
    for _ in range(1, 11):
        x = r * x - d
        print(x)

if __name__ == '__main__':
    solve()
