def main():
    r, D, x2000 = map(int, input().split())
    x = x2000
    for i in range(1, 11):
        print(int(r*x - D))
        x = r*x - D
main() def main():
    r, D, x2000 = map(int, input().split())
    x = x2000
    for i in range(1, 11):
        print(int(r*x - D))
        x = r*x - D main r, D, x2000 = map(int, input().split()) r map(int, input().split()) map int input().split() ().split () input split D x2000 x = x2000 x x2000 for i in range(1, 11):
        print(int(r*x - D))
        x = r*x - D i range(1, 11) range 1 11 print(int(r*x - D)) print int(r*x - D) int r*x - D r*x r x D x = r*x - D x r*x - D r*x r x D main() main def main():
    r, D, x2000 = map(int, input().split())
    x = x2000
    for i in range(1, 11):
        print(int(r*x - D))
        x = r*x - D def main():
    r, D, x2000 = map(int, input().split())
    x = x2000
    for i in range(1, 11):
        print(int(r*x - D))
        x = r*x - D main
def main():
    r, D, x2000 = map(int, input().split())
    x = x2000
    for i in range(1, 11):
        print(int(r*x - D))
        x = r*x - D
main()