def mapt(fn, *args):
    return tuple(map(fn, *args))


def Input():
    return mapt(int, input().split(" "))


def main():
    r, d, x = Input()
    for _ in range(10):
        x = x * r - d
        print(x)

main() def mapt(fn, *args):
    return tuple(map(fn, *args)) mapt return tuple(map(fn, *args)) tuple(map(fn, *args)) tuple map(fn, *args) map fn *args args fn fn *args def Input():
    return mapt(int, input().split(" ")) Input return mapt(int, input().split(" ")) mapt(int, input().split(" ")) mapt int input().split(" ") ().split () input split " " def main():
    r, d, x = Input()
    for _ in range(10):
        x = x * r - d
        print(x) main r, d, x = Input() r Input() Input d x for _ in range(10):
        x = x * r - d
        print(x) _ range(10) range 10 x = x * r - d x x * r - d x * r x r d print(x) print x main() main def Input():
    return mapt(int, input().split(" ")) def Input():
    return mapt(int, input().split(" ")) Input def mapt(fn, *args):
    return tuple(map(fn, *args)) def mapt(fn, *args):
    return tuple(map(fn, *args)) mapt def main():
    r, d, x = Input()
    for _ in range(10):
        x = x * r - d
        print(x) def main():
    r, d, x = Input()
    for _ in range(10):
        x = x * r - d
        print(x) main
def mapt(fn, *args):
    return tuple(map(fn, *args))


def Input():
    return mapt(int, input().split(" "))


def main():
    r, d, x = Input()
    for _ in range(10):
        x = x * r - d
        print(x)

main()