def main():
    r, D, x = (int(i) for i in input().split())

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


if __name__ == '__main__':
    main() def main():
    r, D, x = (int(i) for i in input().split())

    for i in range(10):
        nx = r*x - D
        print(nx)
        x = nx 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, x = (int(i) for i in input().split()) r (int(i) for i in input().split()) D x for i in range(10):
        nx = r*x - D
        print(nx)
        x = nx i range(10) range 10 nx = r*x - D nx r*x - D r*x r x D print(nx) print nx x = nx x nx if __name__ == '__main__':
    main() __name__ == '__main__' __name__ '__main__' main() main def main():
    r, D, x = (int(i) for i in input().split())

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

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

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


if __name__ == '__main__':
    main()
