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