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


if __name__ == "__main__":
    main() def main():
    r, D, x = map(int, input().split())
    for i in range(1, 11):
        k = r * x - D
        x = k
        print(k) 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):
        k = r * x - D
        x = k
        print(k) i range(1, 11) range 1 11 k = r * x - D k r * x - D r * x r x D x = k x k print(k) print k if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def main():
    r, D, x = map(int, input().split())
    for i in range(1, 11):
        k = r * x - D
        x = k
        print(k) def main():
    r, D, x = map(int, input().split())
    for i in range(1, 11):
        k = r * x - D
        x = k
        print(k) main
def main():
    r, D, x = map(int, input().split())
    for i in range(1, 11):
        k = r * x - D
        x = k
        print(k)


if __name__ == "__main__":
    main()
