#include <bits/stdc++.h>
using namespace std;
long long a[10];
int k, id = 1;
void fun() {
  for (int i = 1; i < 10; ++i) {
    a[i] = 1ll * a[i] * 10;
    a[i] += 9;
  }
}
int main() {
  for (int i = 1; i < 10; ++i) a[i] = i;
  cin >> k;
  while (k > 0) {
    if (id == 10) fun(), id = 1;
    cout << a[id] << endl;
    id++, k--;
  }
  return 0;
}
