import Control.Applicative ((<$>)) main :: IO () main = getLine >> solve <$> words <$> getLine >>= putStrLn solve :: [String] -> String solve xs = last xs ++ "/" ++ head xs