main :: IO ()
main = do
  [a, b, k] <- map read . words <$> getLine
  putStrLn . unwords . map show $ solve a b k

solve :: Int -> Int -> Int -> [Int]
solve a b k = [x, y]
  where x = max 0 $ a - k
        y = max 0 $ b - (k - (a - x))
