#include <bits/stdc++.h>
const bool debug = false;
using namespace std;
const long long MOD = 1000000007;
long long memo[18];
void pre() {
  long long a = 1;
  for (int(i) = 0; (i) < (18); (i)++) {
    memo[i] = a;
    a *= 10;
  }
}
int main(void) {
  long long k;
  cin >> k;
  long long cnt = 0;
  long long base = 0;
  pre();
  while (cnt < k) {
    if (cnt != 0 && cnt % 9 == 0) {
      base *= 10;
      base += 9;
    }
    cout << base + (cnt % 9 + 1) * memo[(cnt / 9)] << endl;
    cnt++;
  }
  return 0;
}
