class Yukicoder def initialize k = gets.chomp.to_i s = gets.chomp.to_i puts Rational(s, (1 - Rational(k, 100))).floor end end Yukicoder.new