a, b = gets.chomp.split.map(&:to_r) c = sprintf("%.51f", a / b).chars c.pop puts c.join