N = gets.to_i puts Rational(100 - 0.01 * N, 100 + 0.98 * N).to_f * 100