import sys

input = sys.stdin.readline


def main():
    r, D, x_2000 = map(int, input().split())

    x_prev = x_2000
    for i in range(10):
        x = r * x_prev - D
        print(x)
        x_prev = x


if __name__ == "__main__":
    main() import sys sys input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline def main():
    r, D, x_2000 = map(int, input().split())

    x_prev = x_2000
    for i in range(10):
        x = r * x_prev - D
        print(x)
        x_prev = x main r, D, x_2000 = map(int, input().split()) r map(int, input().split()) map int input().split() ().split () input split D x_2000 x_prev = x_2000 x_prev x_2000 for i in range(10):
        x = r * x_prev - D
        print(x)
        x_prev = x i range(10) range 10 x = r * x_prev - D x r * x_prev - D r * x_prev r x_prev D print(x) print x x_prev = x x_prev x if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def main():
    r, D, x_2000 = map(int, input().split())

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

    x_prev = x_2000
    for i in range(10):
        x = r * x_prev - D
        print(x)
        x_prev = x main input = sys.stdin.readline sys.stdin.readline input
import sys

input = sys.stdin.readline


def main():
    r, D, x_2000 = map(int, input().split())

    x_prev = x_2000
    for i in range(10):
        x = r * x_prev - D
        print(x)
        x_prev = x


if __name__ == "__main__":
    main()
