# -*- coding: utf-8 -*-
"""
Created on Mon Jul 19 10:58:50 2021

@author: jason
"""
a=eval(input("money="));
b=float(input("ir="));
c=int(input("n="));



total=0
d=a*(1+b)**total
for i in d:

    k=a*(1+b)**total;
    print(i)
    if total<=c:
            print("k\n")
            total+=i
            print("total")
          
'''  
 
    x(1.05)+x(1.05**2)
'''