n,a,z=gets.split(":").map{|i|i.to_i}\x0d r=1+z/100.0\x0d n.times{puts a;a=(a*r).to_i}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page