{-# OPTIONS_GHC -O #-}

import Control.Monad
import Data.List
import Data.Char

main=do
    k<-readLn :: IO Int
    forM_ [0..(k-1)] $ \i -> do putStrLn $ s i

s :: Int -> String
s i = (intToDigit (m+1)):(replicate d '9')
        where
            (d,m) = i `divMod` 9
