A, B = gets.split.map(&:to_i) puts "%.50f" % Rational(A, B).floor(50)