#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  cin >> k;
  int stop = 0;
  for (int i = 1; i < 10; i++) {
    cout << i << endl;
    stop++;
    if (stop == k) {
      break;
    }
  }
  if (k > 9) {
    for (int i = 1; i; i++) {
      cout << i * 10 + 9 << endl;
      stop++;
      if (stop == k) {
        break;
      }
    }
  }
  return 0;
}
