import sys

read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 9)
INF = 1 << 60


def main():
    r, D, x = map(int, readline().split())
    for _ in range(10):
        x = r * x - D
        print(x)
    
    return


if __name__ == '__main__':
    main() import sys sys read = sys.stdin.read read sys.stdin.read sys.stdin sys stdin read readline = sys.stdin.readline readline sys.stdin.readline sys.stdin sys stdin readline readlines = sys.stdin.readlines readlines sys.stdin.readlines sys.stdin sys stdin readlines sys.setrecursionlimit(10 ** 9) sys.setrecursionlimit sys setrecursionlimit 10 ** 9 10 9 INF = 1 << 60 INF 1 << 60 1 60 def main():
    r, D, x = map(int, readline().split())
    for _ in range(10):
        x = r * x - D
        print(x)
    
    return main r, D, x = map(int, readline().split()) r map(int, readline().split()) map int readline().split() ().split () readline split D x for _ in range(10):
        x = r * x - D
        print(x)
    
     _ range(10) range 10 x = r * x - D x r * x - D r * x r x D print(x) print x return if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main readlines = sys.stdin.readlines sys.stdin.readlines readlines readline = sys.stdin.readline sys.stdin.readline readline read = sys.stdin.read sys.stdin.read read INF = 1 << 60 1 << 60 INF def main():
    r, D, x = map(int, readline().split())
    for _ in range(10):
        x = r * x - D
        print(x)
    
    return def main():
    r, D, x = map(int, readline().split())
    for _ in range(10):
        x = r * x - D
        print(x)
    
    return main
import sys

read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 9)
INF = 1 << 60


def main():
    r, D, x = map(int, readline().split())
    for _ in range(10):
        x = r * x - D
        print(x)
    
    return


if __name__ == '__main__':
    main()
