import Data.Char import System.IO import qualified Data.ByteString.Char8 as BSC8 main :: IO () main = BSC8.hPut stdout . BSC8.takeWhile isSpace =<< BSC8.hGetNonBlocking stdin 10