class Calc0056 def initialize(args) args = args.map { |l| l.chomp.split(/\s+/) } @d, @p = args.shift.map(&:to_i) end def run (@d * (1 + @p / 100r)).floor end end puts Calc0056.new(STDIN.readlines).run if __FILE__ == $0