module Main where

import Data.Functor

main :: IO ()
main = do
  { [a,b,c] <- getInts
  ; let (q,r) = divMod a b
  ; let s = fromIntegral  a / fromIntegral b
  ; putStrLn . unwords $ [show q, show r, show s]
  }

getInts :: IO [Int]
getInts = map read . words <$> getLine

putInts :: [Int] -> IO ()
putInts = putStrLn . unwords . map show

done :: IO ()
done = return ()