a,b,c=gets.chomp.split(':') puts b=b.to_i 2.upto(a.to_i){puts b+=(b*(c.to_f/100)).to_i}