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

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

if __name__ == "__main__":
    main()
