import qualified Data.Text as T
import qualified Data.Text.IO as T
import qualified Data.Text.Read as T
import Data.List (intercalate)

main :: IO ()
main = do
  (x : y : z : _) <- map unsafeTextToInt . T.words <$> T.getLine :: IO [Int]
  putStrLn . intercalate " " . map show $ [z, x, y]

unsafeTextToInt :: T.Text -> Int
unsafeTextToInt s = case T.signed T.decimal s of
  Right (n, _) -> n
