import Control.Arrow main = getLine >>= (words >>> reverse >>> unwords >>> putStrLn)
one two three
three two one
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!