import Control.Applicative

divideI :: [Int] -> Int
devideI a:b:xs = a / b

devideR :: [Int] -> Int
devideR a:b:xs = a % b

devideF :: [Int] -> Double
devideF a:b:xs = a / b

main = do
    ss <- (map read . words) <$> getLine
    print $ devideI ss
    putStr $ " "
    print $ devideR ss
    putStr $ " "
    print $ devideF ss
