main = getLine >>= return . unwords . reverse . words >>= 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!