main=getLine>>=putStrLn.unwords.map show.(\[a,b]->[a`div`b,a`mod`b,divide a b]).map (read ::String->Int).words

divide::Int->Int->Float
divide a b = x/y
  where 
  x=fromIntegral a::Float
  y=fromIntegral b::Float