(D,P)=gets.chomp.split.map {|x| x.to_i} def yukikoda(d,p) return d + (d.to_f * p / 100).to_i end puts yukikoda(D,P)