import Control.Monad main = do n <- readLn :: IO Int s <- replicateM n getLine putStrLn $ concat s