#include <bits/stdc++.h>
using namespace std;
long long k;
int main() {
  cin >> k;
  if (k < 10) {
    for (int i = 1; i <= k; i++) {
      cout << i << endl;
    }
  } else {
    for (int i = 1; i <= 9; i++) {
      cout << i << endl;
    }
    long long ans = 10;
    long long digit = 10;
    int count = 0;
    for (int i = 0; i < k - 9; i++) {
      ans += digit;
      cout << ans - 1 << endl;
      count++;
      if (count == 9) {
        count = 0;
        digit *= 10;
      }
    }
  }
}
