import Control.Monad
main = mapM_ putStrLn (replicateM 7 ['0'..'9'])