import sys
input = sys.stdin.readline
sys.setrecursionlimit(10 ** 9)

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

if __name__ == '__main__':
    main() import sys sys input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline sys.setrecursionlimit(10 ** 9) sys.setrecursionlimit sys setrecursionlimit 10 ** 9 10 9 def main():
    r, d, x = map(int, input().split())
    for _ in range(10):
        x = r * x - d
        print(x) main r, d, x = map(int, input().split()) r map(int, input().split()) map int input().split() ().split () input 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 if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
    r, d, x = map(int, input().split())
    for _ in range(10):
        x = r * x - d
        print(x) def main():
    r, d, x = map(int, input().split())
    for _ in range(10):
        x = r * x - d
        print(x) main input = sys.stdin.readline sys.stdin.readline input
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10 ** 9)

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

if __name__ == '__main__':
    main()
