#include <bits/stdc++.h>
using namespace std;
int dx[4] = {1, 0, -1, 0};
int dy[4] = {0, 1, 0, -1};
const int long long MOD = 1e9 + 7;
int main() {
  int long long k;
  cin >> k;
  if (k <= 9) {
    for (int i = 0; i < k; i++) {
      cout << i + 1 << endl;
    }
    return 0;
  }
  for (int i = 0; i < 9; i++) {
    cout << i + 1 << endl;
  }
  k -= 9;
  int long long a = 9;
  int t = 1;
  int long long j = 10;
  while (k > 0) {
    cout << j * t + a << endl;
    k--;
    if (k == 0) break;
    t++;
    if (t == 10) {
      t = 1;
      a += j * 9;
      j *= 10;
    }
  }
  return 0;
}
