a,b=gets.split.map(&:to_i) s = "%.52d" % ((a * (10**52))/b) if a >= b printf "%d.%s\n", s[0], s[1, 51] else printf "0.%s\n", s[0, 50] end