c,b,p=STDIN.gets.split(':').map{|x|x.to_i};p(b);(c-1).times{p b=b*(100+p)/100}