class Yukicoder def initialize n = gets.to_i a = (10000 - n) * 0.01 b = n * 0.99 + (10000 - n) * 0.01 puts Rational(a,b).to_f * 100 end end Yukicoder.new