A, B, C = gets.split.map(&:to_i) puts (Rational(A, B) * C).to_f