#!/usr/bin/env python3


def main():
    r, D, x2000 = [int(i) for i in input().split()]
    xi = x2000
    for i in range(10):
        xi = r * xi - D
        print(xi)


if __name__ == '__main__':
    main() def main():
    r, D, x2000 = [int(i) for i in input().split()]
    xi = x2000
    for i in range(10):
        xi = r * xi - D
        print(xi) main int(i) for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() int(i) int i r, D, x2000 = [int(i) for i in input().split()] r [int(i) for i in input().split()] D x2000 xi = x2000 xi x2000 for i in range(10):
        xi = r * xi - D
        print(xi) i range(10) range 10 xi = r * xi - D xi r * xi - D r * xi r xi D print(xi) print xi if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
    r, D, x2000 = [int(i) for i in input().split()]
    xi = x2000
    for i in range(10):
        xi = r * xi - D
        print(xi) def main():
    r, D, x2000 = [int(i) for i in input().split()]
    xi = x2000
    for i in range(10):
        xi = r * xi - D
        print(xi) main
#!/usr/bin/env python3


def main():
    r, D, x2000 = [int(i) for i in input().split()]
    xi = x2000
    for i in range(10):
        xi = r * xi - D
        print(xi)


if __name__ == '__main__':
    main()
