#include <bits/stdc++.h>
using namespace std;
int main() {
  int nums;
  cin >> nums;
  int64_t curr = 1;
  int64_t to_add = 1;
  int64_t limit = 8;
  int64_t done = 0;
  while (nums > 0) {
    cout << curr << "\n";
    nums -= 1;
    curr += to_add;
    done += 1;
    if (done >= limit) {
      to_add *= 10;
      done = 0;
      if (to_add < 100) {
        limit = 9;
      } else if (to_add == 100) {
        limit = 19;
      } else {
        limit += 9;
      }
    }
  }
  return 0;
}
