d = float(input()) #initial density
r = float(input()) #fecundicity parameter
s = int(input()) #number of time steps

n=(r*(1-d)**(i-1)

for i in range(s):
    d = d *n
    print(d)



















