'use strict'

function Main(input) {
  const K = Number(input);
  
  for(let i=0; i<K; i++) {
    let nines = '';
    let head = 0;
    if((i+1) % 9 === 0) {
      head = 9;
    } else {
      head = (i+1) % 9;
    }
    
    for(let j=0; j<Math.floor(i/9); j++) {
      nines += '9';
    }
    console.log(head + nines);
  }


}

Main(require("fs").readFileSync("/dev/stdin", "utf8").trim());