#include <bits/stdc++.h>
using namespace std;
int S(long long num) {
  int dig, sum = 0;
  while (num != 0) {
    dig = num % 10;
    num /= 10;
    sum += dig;
  }
  return sum;
}
int rui(int n) {
  int sum = 1;
  for (int i = 0; i < n; i++) {
    sum *= 10;
  }
  return sum;
}
int main() {
  int k;
  cin >> k;
  long long sunuke[1000][9];
  sunuke[0][0] = 1;
  for (int j = 1; j < 9; j++) {
    sunuke[0][j] = sunuke[0][j - 1] + 1;
  }
  for (int i = 1; i < 1000; i++) {
    for (int j = 0; j < 9; j++) {
      if (j == 0) {
        sunuke[i][0] = sunuke[i - 1][8] + rui(i);
      } else {
        sunuke[i][j] = sunuke[i][j - 1] + rui(i);
      }
    }
  }
  int s, t;
  s = k / 9;
  if (s == 0) s = k;
  t = k % 9;
  if (t == 0) t = 8;
  for (int i = 0; i <= s; i++) {
    if (i == s) {
      for (int j = 0; j < t; j++) {
        cout << sunuke[i][j] << endl;
      }
    } else {
      for (int j = 0; j < 9; j++) {
        cout << sunuke[i][j] << endl;
      }
    }
  }
}
