a,b=gets.split.map(&:to_f) 51.times do |n| print (a/b).to_i print '.' if n==0 a=((a%b)*10).to_i end print "\n"