import sys

input = lambda: sys.stdin.readline().rstrip()


def solve():
    r, d, x = map(int, input().split())
    xl = [0] * 11
    xl[0] = x
    for i in range(10):
        xl[i + 1] = r * xl[i] - d

    for i in range(1, 11):
        print(xl[i])


if __name__ == '__main__':
    solve() import sys sys input = lambda: sys.stdin.readline().rstrip() input lambda: sys.stdin.readline().rstrip() sys.stdin.readline().rstrip() sys.stdin.readline().rstrip sys.stdin.readline() sys.stdin.readline sys.stdin sys stdin readline rstrip def solve():
    r, d, x = map(int, input().split())
    xl = [0] * 11
    xl[0] = x
    for i in range(10):
        xl[i + 1] = r * xl[i] - d

    for i in range(1, 11):
        print(xl[i]) solve r, d, x = map(int, input().split()) r map(int, input().split()) map int input().split() ().split () input split d x xl = [0] * 11 xl [0] * 11 [0] 0 11 xl[0] = x xl[0] xl 0 x for i in range(10):
        xl[i + 1] = r * xl[i] - d

     i range(10) range 10 xl[i + 1] = r * xl[i] - d xl[i + 1] xl i + 1 i 1 r * xl[i] - d r * xl[i] r xl[i] xl i d for i in range(1, 11):
        print(xl[i]) i range(1, 11) range 1 11 print(xl[i]) print xl[i] xl i if __name__ == '__main__':
    solve() __name__ == '__main__' __name__ '__main__' solve() solve input = lambda: sys.stdin.readline().rstrip() lambda: sys.stdin.readline().rstrip() input def solve():
    r, d, x = map(int, input().split())
    xl = [0] * 11
    xl[0] = x
    for i in range(10):
        xl[i + 1] = r * xl[i] - d

    for i in range(1, 11):
        print(xl[i]) def solve():
    r, d, x = map(int, input().split())
    xl = [0] * 11
    xl[0] = x
    for i in range(10):
        xl[i + 1] = r * xl[i] - d

    for i in range(1, 11):
        print(xl[i]) solve
import sys

input = lambda: sys.stdin.readline().rstrip()


def solve():
    r, d, x = map(int, input().split())
    xl = [0] * 11
    xl[0] = x
    for i in range(10):
        xl[i + 1] = r * xl[i] - d

    for i in range(1, 11):
        print(xl[i])


if __name__ == '__main__':
    solve()
