main = interact $ unwords . reverse . words