#include <bits/stdc++.h>
using namespace std;
const long long int mod = 1e9 + 7;
const long long int INF = 1e9;
const long long int MAXN = 1e9;
int main() {
  long long int k;
  cin >> k;
  long long int nine = 0, cnt = 1;
  for (int i = 1; i <= k; i++) {
    long long int x = 0;
    for (int j = 0; j < nine; j++) {
      x += pow(10, j) * 9;
    }
    x += pow(10, nine) * cnt;
    cout << x << endl;
    if (cnt == 9) {
      cnt = 0;
      nine++;
    }
    cnt++;
  }
  return 0;
}
