#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  cin >> k;
  int fd = 1, c9 = 0;
  for (int i = 0; i < k; i++) {
    cout << fd;
    for (int j = 0; j < c9; j++) {
      cout << 9;
    }
    cout << endl;
    fd++;
    if (fd == 10) {
      fd = 1;
      c9++;
    }
  }
  return 0;
}
