require "bigdecimal" d, tax = gets.split(" ").map(&:to_i) p (BigDecimal(d) * (1 + tax / 100.0)).floor