#include <bits/stdc++.h>
using namespace std;
int main() {
  int i, k, a, n, m, add;
  cin >> k;
  while (k > 0) {
    n = i;
    n++;
    a = 0;
    while (n > 0) {
      a++;
      n = n / 10;
    }
    add = 1;
    for (m = 1; m < a; m++) {
      add = add * 10;
    }
    i = i + add;
    cout << i << endl;
    k--;
  }
}
