fork download
  1. import Control.Arrow
  2.  
  3. main = getLine >>= (words >>> reverse >>> unwords >>> putStrLn)
Success #stdin #stdout 0s 4724KB
stdin
one two three
stdout
three two one