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