T, S, D = gets.split.map(&:to_i) puts "%.8f" % Rational(D, S)